Function rings_node::prelude::message::encode_data_gzip
source · pub fn encode_data_gzip(data: &Bytes, level: u8) -> Result<Bytes, Error>
Expand description
Compresses the given data byte slice using the gzip algorithm with the specified compression level.