CompressZstd

Zstandard is a fast compression algorithm designed for streaming. See zstd.h (enum ZSTD_cParameter) for details.

Members

Classes

Stream
class Stream
Undocumented in source.

Functions

end
void end(Stream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
Stream initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
process
Flag!"streamEnded" process(Stream stream, Flag!"lastChunk" lastChunk)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset(Stream stream)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

chainLog
int chainLog;

Common paramters. A value of zero indicates that the default should be used.

checksumFlag
bool checksumFlag;

Include a checksum of the content in the trailer.

compressionLevel
int compressionLevel;

Common paramters. A value of zero indicates that the default should be used.

contentSize
ulong contentSize;

If input data content size is known, before start of streaming, set contentSize to its value. It will enable the size to be written in the header and checked after decompression.

dictIdFlag
bool dictIdFlag;

When applicable, dictionary's ID is written in the header

enableLongDistanceMatching
bool enableLongDistanceMatching;

Long distance matching parameters (LDM) Can be activated for large inputs to improve the compression ratio. Increases memory usage and the window size A value of zero indicate that the default should be used.

hashLog
int hashLog;

Common paramters. A value of zero indicates that the default should be used.

jobSize
int jobSize;

Multi-threading parameters

ldmBucketSizeLog
int ldmBucketSizeLog;
ldmHashLog
int ldmHashLog;
ldmHashRateLog
int ldmHashRateLog;
ldmMinMatch
int ldmMinMatch;

Long distance matching parameters (LDM) Can be activated for large inputs to improve the compression ratio. Increases memory usage and the window size A value of zero indicate that the default should be used.

minMatch
int minMatch;

Common paramters. A value of zero indicates that the default should be used.

nbWorkers
int nbWorkers;
overlapLog
int overlapLog;

Multi-threading parameters

searchLog
int searchLog;
strategy
int strategy;
targetLength
int targetLength;
windowLog
int windowLog;

Common paramters. A value of zero indicates that the default should be used.

Meta