Class LzmaCompressionSettings

LzmaCompressionSettings class

Settings for LZMA compression within a ZIP archive.

public class LzmaCompressionSettings : CompressionSettings

Constructors

NameDescription
LzmaCompressionSettings()Initializes a new instance of the LzmaCompressionSettings class with default parameters.
LzmaCompressionSettings(int)Initializes a new instance of the LzmaCompressionSettings class with specified dictionary size, default number of fast bytes equal to 32 and number of literal context bits equal to 3.
LzmaCompressionSettings(int, int, int)Initializes a new instance of the LzmaCompressionSettings class with specified dictionary size, number of fast bytes and number of literal context bits.

Properties

NameDescription
DictionarySize { get; }Dictionary (history buffer) size indicates how many bytes of the recently processed uncompressed data are kept in memory.
LiteralContextBits { get; }Gets the number of literal context bits.
NumberOfFastBytes { get; }Gets the number of bytes used for fast match searching in the LZMA algorithm.

Remarks

The Lempel–Ziv–Markov chain algorithm (LZMA) is an algorithm used to perform lossless data compression. This algorithm uses a dictionary compression scheme somewhat similar to the LZ77 algorithm and features a high compression ratio and a variable compression-dictionary size.

See more: Lempel–Ziv–Markov chain algorithm

See Also