Struct parquet::compression::BrotliCodec [−][src]
pub struct BrotliCodec {}Codec for Brotli compression algorithm.
Trait Implementations
impl Codec for BrotliCodec[src]
impl Codec for BrotliCodecfn 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
Auto Trait Implementations
impl Send for BrotliCodec
impl Send for BrotliCodecimpl Sync for BrotliCodec
impl Sync for BrotliCodec