NeoMutt  2024-04-25-89-g194907
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
Compression functions

Data compression.

These compression methods are used by the hcache.

Interface

Each Compression backend implements the ComprOps API.

Source

Shared compression code

Name File Home Page
LZ4 compression compress/lz4.c https://github.com/lz4/lz4
ZLIB compression compress/zlib.c https://www.zlib.net/
Zstandard (zstd) compression compress/zstd.c https://www.zstd.net/

Usage with Compression Level set to X:

  • open(level X) -> N times compress() -> close()
  • open(level X) -> N times decompress() -> close()