Skip to main content

compress_with_params

Function compress_with_params 

Source
pub fn compress_with_params(
    input: &[u8],
    params: &LevelParams,
) -> Result<Vec<u8>, CompressError>
Expand description

compress with explicit params instead of a level. The table and window logs are clamped to their valid ranges and to the input size.