Skip to main content

encode_data_gzip

Function encode_data_gzip 

Source
pub fn encode_data_gzip(data: &Bytes, level: u8) -> Result<Bytes>
Expand description

Compresses the given data byte slice using the gzip algorithm with the specified compression level.