Function walker_common::compression::decompress_opt
source ยท pub fn decompress_opt(_data: &[u8], name: &str) -> Option<Result<Bytes, Error>>Expand description
Decompress a bz2 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.