pub fn compress(input: &[u8], level: i32) -> Result<Vec<u8>, CompressError>Expand description
Compresses input into one frame at level (-7..=4; -8 runs as -7,
0 as 1). The frame records the content size and a checksum. Other
levels fail with CompressError::InvalidLevel.