Skip to main content

Module block

Module block 

Source
Expand description

Per-block compression and decompression helpers.

Structs§

CompressedBlock
Result of compressing a single block.

Functions§

compress_block
Compress one block of input data using a caller-provided, worker-pooled Compressor.
decompress_block_into
Decompress one block payload directly into a caller-provided output slice.
decompress_block_payload
Allocating wrapper around decompress_block_into — convenience for callers that want an owned Vec<u8> (e.g. random-access decompress_block).