pub fn decode(encoding: &ContentEncoding, body: &Bytes) -> Result<Bytes, String>Expand description
Decodes a body compressed with encoding. Errors on corrupt or
truncated data, with a message naming the codec.
pub fn decode(encoding: &ContentEncoding, body: &Bytes) -> Result<Bytes, String>Decodes a body compressed with encoding. Errors on corrupt or
truncated data, with a message naming the codec.