pub fn compression_decoder(
stream: &mut Cursor<&[u8]>,
compression_threshold: u32,
) -> Result<Box<[u8]>, DecompressionError>Expand description
Get the decompressed bytes from a packet.
The stream must have already been decrypted before passing it to this function.