Skip to main content

encode_with_level

Function encode_with_level 

Source
pub fn encode_with_level(data: &[u8], level: i32) -> Result<Vec<u8>, CodecError>
Expand description

Compress raw bytes using Zstd at a specific level (1-22).