Class LzmaArchiveSettings

LzmaArchiveSettings class

Settings for lzma archive.

public class LzmaArchiveSettings

Constructors

NameDescription
LzmaArchiveSettings()Initializes a new instance of the LzmaArchiveSettings class with default dictionary size, equals to 16 megabytes, number of fast bytes equal to 32 and literal context bits equal to 3.

Properties

NameDescription
DictionarySize { get; set; }Dictionary (history buffer) size indicates how many bytes of the recently processed uncompressed data are kept in memory. If not set, will be chosen accordingly to entry size.
LiteralContextBits { get; set; }Gets or sets the number of literal context bits.
NumberOfFastBytes { get; set; }Gets or sets the number of bytes used for fast match searching in the LZMA algorithm.

Events

NameDescription
event CompressionProgressedRaises when a portion of raw stream compressed.

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