Crate flate3[][src]

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 mut comp = flate3::Compressor::new();
let data = [ 1,2,3,4,1,2,3 ];
let cb : Vec<u8> = comp.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 and scoped thread pool.

Compression options.

Functions

RFC 1951 inflate ( de-compress ).