Deflate

Zlib's deflate algorithm

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

format
ZlibFormat format;

Which format to use for the deflated stream. In case ZlibFormat.gz, the gzHeader field will be used if supplied, other wise default values will be used.

gzHeader
Nullable!GzHeader gzHeader;

The GzHeader to be used with ZlibFormat.gz.

level
int level;

Compression level from 1 (fastest) to 9 (best compression).

memLevel
int memLevel;
strategy
int strategy;

Advanced parameters See zlib's documentation of deflateInit2. windowBits must be between 9 and 15 included and is adjusted according chosen format.

windowBits
int windowBits;

Advanced parameters See zlib's documentation of deflateInit2. windowBits must be between 9 and 15 included and is adjusted according chosen format.

Meta