Module decompress

Source

Structsยง

BlockHeader ๐Ÿ”’
CompressedBlock ๐Ÿ”’
The Decompressor state for a compressed block.
Decompressor
Decompressor for arbitrary zlib streams.

Enumsยง

BoundedDecompressionError
An error encountered while decompressing a deflate stream given a bounded maximum output.
DecompressionError
An error encountered while decompressing a deflate stream.
State ๐Ÿ”’

Constantsยง

EXCEPTIONAL_ENTRY
LITERAL_ENTRY
SECONDARY_TABLE_ENTRY

Functionsยง

decompress_to_vec
Decompress the given data.
decompress_to_vec_bounded
Decompress the given data, returning an error if the output is larger than maxlen bytes.