Expand description
This module contains functionality for decompression.
Modules§
Structs§
- Decompress
Error - Struct return when decompress_to_vec functions fail.
Enums§
- TINFL
Status - Return status codes.
Functions§
- 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_ 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.