NCBI C++ ToolKit
|
Zstandard (zstd) Compression API. More...
#include <util/compress/stream.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Zstandard (zstd) Compression API.
Requires zstd v1.4.0+.
Zstandard, or zstd, is a fast lossless compression algorithm, targeting real-time compression scenarios at zlib-level and better compression ratios.
CZstdCompression - base methods for compression/decompression memory buffers and files. CZstdCompressionFile - allow read/write operations on files in .zst format. CZstdCompressor - zstd based compressor (used in CZstdStreamCompressor). CZstdDecompressor - zstd based decompressor (used in CZstdStreamDecompressor). CZstdStreamCompressor - zstd based compression stream processor (see util/compress/stream.hpp for details). CZstdStreamDecompressor - zstd based decompression stream processor (see util/compress/stream.hpp for details).
The Zstandard documentation and format can be found here: https://github.com/facebook/zstd https://datatracker.ietf.org/doc/html/rfc8878 https://facebook.github.io/zstd/zstd_manual.html
if defined(HAVE_LIBZSTD) // use zstd related code here #else // some backup code, or error reporting #endif
See also comments at the beginning of "compress.hpp".
Definition in file zstd.hpp.