/// Return an iterator that decompresses the chunks in this thread.
/// You can alternatively use `sequential_decompressor` if you prefer an external iterator.
Return an iterator that decompresses the chunks in this thread.
You can alternatively use `sequential_decompressor` if you prefer an external iterator.
Return an iterator that decompresses the chunks in this thread . You can alternatively use ` sequential_decompressor ` if you prefer an external iterator .
fn decompress_sequential(
        self, pedantic: bool,
        mut insert_block: impl FnMut(&MetaData, UncompressedBlock) -> UnitResult
    ) -> UnitResult
    {
        let mut decompressor = self.sequential_decompressor(pedantic);
        while let Some(block) = decompressor.next() {
            insert_block(decompressor.meta_data(), block?)?;
        }
        debug_assert_eq!(decompressor.len(), 0, "compressed blocks left after decompressing all blocks");
        Ok(())
    }
fn decompress_sequential ( self , pedantic : bool , mut insert_block : impl FnMut ( & MetaData , UncompressedBlock ) -> UnitResult ) -> UnitResult { let mut decompressor = self . sequential_decompressor ( pedantic ) ; while let Some ( block ) = decompressor . next ( ) { insert_block ( decompressor . meta_data ( ) , block ? ) ? ; } debug_assert_eq ! ( decompressor len ( ) 0 " " ) ; Ok ( ( ) ) }
Return an iterator that decompresses the chunks in this thread.
Return an iterator that decompresses the chunks in this thread .
self
pedantic
bool
insert_block
impl FnMut(&MetaData, UncompressedBlock) -> UnitResult