Function lz4_flex::block::uncompressed_size
source · pub fn uncompressed_size(
input: &[u8]
) -> Result<(usize, &[u8]), DecompressError>
Expand description
This can be used in conjunction with decompress_size_prepended
.
It will read the first 4 bytes as little-endian encoded length, and return
the rest of the bytes after the length encoding.