zx0

Function compress

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

Compress the input slice to an output vector.

This is a shortcut for:

Compressor::new().compress(input).output

For a more customized experience please see the Compressor struct.