Struct SequentialBlocksCompressor
#[must_use]
pub struct SequentialBlocksCompressor<'w, W> { /* private fields */ }
Compress blocks to a chunk writer in this thread.
Implementations
impl<'w, W> SequentialBlocksCompressor<'w, W>
where
W: 'w + ChunksWriter,
fn new(meta: &'w MetaData, chunks_writer: &'w mut W) -> SelfNew blocks writer.
fn inner_chunks_writer(&'w self) -> &'w WThis is where the compressed blocks are written to.
fn compress_block(&mut self, index_in_header_increasing_y: usize, block: UncompressedBlock) -> UnitResultCompress a single block immediately. The index of the block must be in increasing line order.
Trait Implementations
impl<'w, W: Debug> Debug for SequentialBlocksCompressor<'w, W>
fn fmt(&self, f: &mut Formatter<'_>) -> Result