Skip to main content

compress

Function compress 

Source
pub fn compress(src: &[u8]) -> Vec<u8> ⓘ
Expand description

Compress one block in the LZF format decompress_into reads: literal runs of up to 32 bytes, and back-references of 3 to 264 bytes up to 8 KiB back, found by a 3-byte hash. Any valid encoding loads; this need not match the engine’s choice of matches.