CompressLzma

Undocumented in source.

Members

Aliases

Stream
alias Stream = LzmaStream
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

check
LzmaCheck check;

The integrity check to include in compressed stream. Only used with XZ format.

deltaDist
uint deltaDist;

Number of bytes between 1 and 256 to use for the Delta filter. For example for 16bit PCM stero audio, you should use 4. For RGB data 8bit per channel, you should use 3.

extreme
Flag!"extreme" extreme;

Makes the encoding significantly slower for marginal compression improvement. Only useful if you don't mind about CPU time at all.

filters
LzmaFilter[] filters;

Filters to include in the encoding. Maximum three filters can be provided. For most input, no filtering is necessary.

format
LzmaFormat format;

The format of the compressed stream

preset
uint preset;

The compression preset between 0 (fast) to 9 (higher compression). The default is 6.

Meta