miniz_oxide::deflate

Function compress_to_vec

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

Compress the input data to a vector, using the specified compression level (0-10).