Expand description
RFC 1951 compression and de-compression.
flate3 is intended to be a high-performance alternative to the flate2 crate.
It should compress slightly better than flate2. It uses multiple threads to compress faster.
§Example:
let data = [ 1,2,3,4,1,2,3 ];
let cb : Vec<u8> = flate3::deflate( &data );
println!( "compressed size={}", cb.len() );
let uc : Vec<u8> = flate3::inflate( &cb );
println!( "de-compressed size={}", uc.len() );
assert!( uc == &data );
Structs§
- Holds compression options ( this struct used to hold a thread pool as well ).
- Compression options.
Functions§
- Checksum function per RFC 1950.
- Compress with default options.
- RFC 1951 inflate ( de-compress ).