Expand description
Raw interface to in-memory compression/decompression streams
Structs§
- Compress
- In-memory state for compressing/encoding data with brotli
- Decompress
- In-memory state for decompressing brotli-encoded data.
- Error
- Error that can happen from decompressing or compressing a brotli stream.
Enums§
- CoStatus
- Indication of whether a compression operation is ‘complete’. This does
not indicate whether the whole stream is complete - see
Compress::compressfor details. - Compress
Op - Possible choices for the operation performed by the compressor.
- DeStatus
- Possible status results returned from decompressing.
Functions§
- compress_
buf - Compresses the data in
inputintooutput. - decompress_
buf - Decompress data in one go in memory.