Available on crate feature
compression
only.Expand description
Defines a compression format interface, and a FileFormat
which wraps another FileFormat
,
is generic over compression formats, and compresses the contents of the wrapped format.
Modules§
- bzip
bzip
- Defines a
CompressionFormat
for the bzip compression algorithm. - flate
flate
- Defines
CompressionFormat
s for the DEFLATE, gzip and zlib compression algorithms. - xz
xz
- Defines a
CompressionFormat
for the LZMA/XZ compression algorithm.
Structs§
- Compressed
- Combines a
FileFormat
and aCompressionFormat
, making the contents emitted by the format compressed before writing to disk, and decompressed before parsing.
Traits§
- Compression
Format - Defines a format for lossless compression of arbitrary data.
- Compression
Format Levels - Defines compression level presets for a
CompressionFormat
.