Class SevenZipLZMACompressionSettings

Class SevenZipLZMACompressionSettings

Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.2.0)

Settings needed for 7z compressor or decompressor to work.

public class SevenZipLZMACompressionSettings : SevenZipCompressionSettings

Inheritance

objectSevenZipCompressionSettingsSevenZipLZMACompressionSettings

Inherited Members

SevenZipCompressionSettings.Method, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

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: https://en.wikipedia.org/wiki/Lempel–Ziv–Markov_chain_algorithm

Constructors

SevenZipLZMACompressionSettings()

public SevenZipLZMACompressionSettings()

Properties

DictionarySize

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.

public int DictionarySize { get; set; }

Property Value

int

Remarks

The bigger the dictionary, the better the compression ratio usually is, but dictionaries bigger than the uncompressed data are waste of RAM.

Method

Gets compression or decompression method.

public override SevenZipCompressionMethod Method { get; }

Property Value

SevenZipCompressionMethod

 English