Struct parquet::compression::GZipCodec [−][src]
pub struct GZipCodec {}Codec for GZIP compression algorithm.
Trait Implementations
impl Codec for GZipCodec[src]
impl Codec for GZipCodecfn decompress(
&mut self,
input_buf: &[u8],
output_buf: &mut Vec<u8>
) -> Result<usize>[src]
fn decompress(
&mut self,
input_buf: &[u8],
output_buf: &mut Vec<u8>
) -> Result<usize>Decompresses data stored in slice input_buf and writes output to output_buf. Returns the total number of bytes written. Read more
fn compress(&mut self, input_buf: &[u8]) -> Result<Vec<u8>>[src]
fn compress(&mut self, input_buf: &[u8]) -> Result<Vec<u8>>Compresses data stored in slice input_buf and returns a new vector with the compressed data. TODO: it's better to pass in vec here (e.g., allow reuse), but flate2 api doesn't support this. Read more