Expand description
This module contains functionality for compression.
Modules§
Enums§
- Compression
Level - How much processing the compressor should do to compress the data.
NoCompression
andBestspeed
have 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.