pub trait DeflateBackend: Backend {
    fn make(level: Compression, zlib_header: bool, window_bits: u8) -> Self;
    fn compress(
        &mut self,
        input: &[u8],
        output: &mut [u8],
        flush: FlushCompress
    ) -> Result<Status, CompressError>; fn reset(&mut self); }

Required Methods§

source

fn make(level: Compression, zlib_header: bool, window_bits: u8) -> Self

source

fn compress(
    &mut self,
    input: &[u8],
    output: &mut [u8],
    flush: FlushCompress
) -> Result<Status, CompressError>

source

fn reset(&mut self)

Implementors§