DecompressLzma

Undocumented in source.

Constructors

this
this(LzmaFormat format)
Undocumented in source.
this
this(CompressLzma compress)

convenience constructor to copy parameters of the compression for the decompression. Especially useful for the raw decompression, to ensure that the parameters fit the ones used for compression.

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

deltaDist
uint deltaDist;
extreme
Flag!"extreme" extreme;
filters
LzmaFilter[] filters;

Parameters for the raw decompression. They are the same than for the compression. As there is no header to tell Lzma what filters were used during compression, it is the responsibility of the programmer to correctly ensure that the same options are used for decompression. All these options are ignored when decompressing .xz stream.

format
LzmaFormat format;

The format of the compressed stream

memLimit
size_t memLimit;

The memory usage limit in bytes. by default no limit is enforced

preset
uint preset;

Parameters for the raw decompression. They are the same than for the compression. As there is no header to tell Lzma what filters were used during compression, it is the responsibility of the programmer to correctly ensure that the same options are used for decompression. All these options are ignored when decompressing .xz stream.

Meta