Function rings_core::message::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.