Class SevenZipLZMACompressionSettings

SevenZipLZMACompressionSettings class

Settings for LZMA compression method within 7z archive.

public class SevenZipLZMACompressionSettings : SevenZipCompressionSettings

Constructors

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

Properties

NameDescription
DictionarySize { get; set; }Dictionary (history buffer) size indicates how many bytes of the recently processed uncompressed data is kept in memory. If not set, will be chosen accordingly to entry size. Must be between 4096 and 1073741824, or equal to zero for automatic detection based on entry size.
LiteralContextBits { get; }Gets the number of literal context bits.
override Method { get; }Gets compression or decompression method.
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