pub trait StreamingDecompressor {
// Required methods
fn algorithm(&self) -> Algorithm;
fn begin(&mut self) -> Result<()>;
fn decompress_chunk(
&mut self,
input: &[u8],
output: &mut [u8],
) -> Result<(usize, usize, bool)>;
fn is_finished(&self) -> bool;
fn reset(&mut self);
}Expand description
Streaming decompression for incremental processing.
Required Methods§
Sourcefn decompress_chunk(
&mut self,
input: &[u8],
output: &mut [u8],
) -> Result<(usize, usize, bool)>
fn decompress_chunk( &mut self, input: &[u8], output: &mut [u8], ) -> Result<(usize, usize, bool)>
Sourcefn is_finished(&self) -> bool
fn is_finished(&self) -> bool
Check if decompression is complete.