Module deflate
This module contains functionality for compression.
Modules
Enums
-
CompressionLevel
How much processing the compressor should do to compress the data.
NoCompressionandBestspeedhave special meanings, the other levels determine the number of checks for matches in the hash chains and whether to use lazy or greedy parsing.
Functions
- compress_to_vec Compress the input data to a vector, using the specified compression level (0-10).
- compress_to_vec_zlib Compress the input data to a vector, using the specified compression level (0-10), and with a zlib wrapper.