lance_encoding::encodings::physical::block_compress

Trait BufferCompressor

Source
pub trait BufferCompressor:
    Debug
    + Send
    + Sync {
    // Required methods
    fn compress(&self, input_buf: &[u8], output_buf: &mut Vec<u8>) -> Result<()>;
    fn decompress(
        &self,
        input_buf: &[u8],
        output_buf: &mut Vec<u8>,
    ) -> Result<()>;
}

Required Methods§

Source

fn compress(&self, input_buf: &[u8], output_buf: &mut Vec<u8>) -> Result<()>

Source

fn decompress(&self, input_buf: &[u8], output_buf: &mut Vec<u8>) -> Result<()>

Implementors§