polars_parquet::parquet::read

Function decompress

Source
pub fn decompress(
    compressed_page: CompressedPage,
    buffer: &mut Vec<u8>,
) -> ParquetResult<Page>
Expand description

Decompresses the page, using buffer for decompression. If page.buffer.len() == 0, there was no decompression and the buffer was moved. Else, decompression took place.