pub fn compress(
input: &[u8],
window: u8,
lookahead: u8,
) -> Result<Vec<u8>, HeatshrinkError>Available on crate feature
heatshrink only.Expand description
Compress input using heatshrink with the given window/lookahead
parameters. The parameters MUST match what the device advertised
during QUERY.