Expand description
This module contains functionality for decompression.
Modulesยง
- core
- Streaming decompression functionality.
- output_
buffer ๐ - stream
- Extra streaming decompression functionality.
Structsยง
- Decompress
Error - Struct return when decompress_to_vec functions fail.
Enumsยง
- TINFL
Status - Return status codes.
Constantsยง
- TINFL_
STATUS_ ๐ADLE R32_ MISMATCH - TINFL_
STATUS_ ๐BAD_ PARAM - TINFL_
STATUS_ ๐DONE - TINFL_
STATUS_ ๐FAILED - TINFL_
STATUS_ ๐FAILED_ CANNOT_ MAKE_ PROGRESS - TINFL_
STATUS_ ๐HAS_ MORE_ OUTPUT - TINFL_
STATUS_ ๐NEEDS_ MORE_ INPUT
Functionsยง
- decompress_
error ๐ - decompress_
slice_ iter_ to_ slice - Decompress one or more source slices from an iterator into the output slice.
- decompress_
to_ vec - Decompress the deflate-encoded data in
input
to a vector. - decompress_
to_ ๐vec_ inner - Backend of various to-
Vec
decompressions. - decompress_
to_ vec_ with_ limit - Decompress the deflate-encoded data in
input
to a vector. - decompress_
to_ vec_ zlib - Decompress the deflate-encoded data (with a zlib wrapper) in
input
to a vector. - decompress_
to_ vec_ zlib_ with_ limit - Decompress the deflate-encoded data (with a zlib wrapper) in
input
to a vector. The vector is grown to at mostmax_size
bytes; if the data does not fit in that size, the error struct will contain the statusTINFLStatus::HasMoreOutput
and the data that was decompressed on failure.