Trait flate2::ffi::InflateBackend
source · pub trait InflateBackend: Backend {
// Required methods
fn make(zlib_header: bool, window_bits: u8) -> Self;
fn decompress(
&mut self,
input: &[u8],
output: &mut [u8],
flush: FlushDecompress,
) -> Result<Status, DecompressError>;
fn reset(&mut self, zlib_header: bool);
}
Required Methods§
fn make(zlib_header: bool, window_bits: u8) -> Self
fn decompress( &mut self, input: &[u8], output: &mut [u8], flush: FlushDecompress, ) -> Result<Status, DecompressError>
fn reset(&mut self, zlib_header: bool)
Object Safety§
This trait is not object safe.