pub fn compress(
compression: CompressionOptions,
input_buf: &[u8],
output_buf: &mut Vec<u8>,
) -> ParquetResult<()>
Expand description
Compresses data stored in slice input_buf
and writes the compressed result
to output_buf
.
Note that you’ll need to call clear()
before reusing the same output_buf
across different compress
calls.