pub fn decompress_opt(data: &[u8], name: &str) -> Option<Result<Bytes, Error>>Expand description
Decompress a stream, or fail if no encoder was configured.
This function will not consume the data, but return None, if no decompression was required.
This allows one to hold on to the original, compressed, data if necessary.