Module brotli2::raw [] [src]

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::compress for details.

CompressOp

Possible choices for the operation performed by the compressor.

DeStatus

Possible status results returned from decompressing.

Functions

compress_buf

Compresses the data in input into output.

decompress_buf

Decompress data in one go in memory.