pub fn decompress_bytes(
data: &[u8],
compression: CompressionType,
original_size: usize,
) -> Result<Vec<u8>>Expand description
Decompress bytes previously produced by compress_bytes with the same
compression algorithm.
original_size (the uncompressed length) is required for LZ4: its raw
block format carries no length trailer of its own. Other algorithms are
self-describing and ignore this parameter.