Crate deflate [−] [src]
An implementation an encoder using DEFLATE compression algorightm in pure rust.
This library provides functions to compress data (currently only in-memory) using DEFLATE, both with and without a zlib header/trailer The current implementation is still a bit lacking speed-wise compared to C-libraries like zlib and miniz.
Functions
deflate_bytes |
Compress the given slice of bytes with DEFLATE compression. |
deflate_bytes_zlib |
Compress the given slice of bytes with DEFLATE compression, including a zlib header and trailer. |
lz77_compress |
Compress a slice, not storing frequency information |