Skip to main content

compress_with_level

Function compress_with_level 

Source
pub fn compress_with_level(
    payload: &[u8],
    level: Option<i32>,
) -> Result<Vec<u8>>
Expand description

Compress payload at the given level (None -> codec default 3, range 1..=22).