Function maybe_decompress_bytes

Source
pub fn maybe_decompress_bytes<'a>(
    bytes: &'a [u8],
    out: &'a mut Vec<u8>,
) -> Result<&'a [u8], PolarsError>
Expand description

Decompress bytes if compression is detected, otherwise simply return it. An out vec must be given for ownership of the decompressed data.