Skip to main content

Module compress

Module compress 

Source

Structs§

ZlibStreamCompressor
Raw-deflate stream compressor compatible with Mars zlib settings.
ZstdChunkCompressor
zstd chunk compressor.
ZstdStreamCompressor
Streaming zstd compressor compatible with Mars async path.

Enums§

CompressError
Errors raised by the compression and decompression helpers.

Traits§

StreamCompressor
Stateful compressor used by the async writer to emit one logical stream.

Functions§

decompress_raw_zlib
Decompresses raw-deflate data produced by the zlib stream compressor.
decompress_zstd_frames
Decompresses one or more concatenated zstd frames into a single byte buffer.