Expand description
Compression algorithms for save data: RLE, LZ4-style, Huffman, and delta encoding.
Compressor::compress_auto tries every algorithm and picks the smallest output,
storing the result in a self-describing CompressedBlock.
Structs§
- Compressed
Block - A self-describing compressed block.
- Compressor
- High-level compressor: tries every algorithm and picks the smallest result.
- Delta
Decoder - Delta decoder.
- Delta
Encoder - Delta-encode sorted integer arrays then apply RLE on the deltas.
- Huffman
Decoder - Canonical Huffman decoder.
- Huffman
Encoder - Canonical Huffman encoder.
- Lz4Decoder
- LZ4-style block decompressor.
- Lz4Encoder
- LZ4-style block compressor using a 4-byte hash chain.
- RunLength
Encoder - Byte-level run-length encoding.
Enums§
- Compression
Algorithm - Which compression algorithm was used to produce a
CompressedBlock.