Class LzmaSettings
Configures LZMA compression parameters (dictionary, context, position, fast bytes, match finder) for fine‑grained ratio and performance tuning.
Inherited Members
Namespace: Telerik.Windows.Zip
Assembly: Telerik.Windows.Zip.dll
Syntax
public class LzmaSettings : CompressionSettings, INotifyPropertyChanged
Constructors
LzmaSettings()
Creates an LZMA settings instance with defaults optimized for balanced speed and compression (8MB dictionary, BT4 match finder).
Declaration
public LzmaSettings()
Properties
DictionarySize
Gets or sets the base-2 exponent for the dictionary size (0–27), controlling memory usage; 23 (8MB) by default.
Declaration
public int DictionarySize { get; set; }
Property Value
|
System.Int32
|
FastBytes
Gets or sets the number of fast bytes (5–273) scanned for matches before fallback; higher may improve ratio but costs speed (default 32).
Declaration
public int FastBytes { get; set; }
Property Value
|
System.Int32
|
LiteralContextBits
Gets or sets literal context bits (0–8) influencing prediction based on preceding bytes; default is 3.
Declaration
public int LiteralContextBits { get; set; }
Property Value
|
System.Int32
|
LiteralPositionBits
Gets or sets literal position bits (0–4) refining modeling by low address bits; default is 0.
Declaration
public int LiteralPositionBits { get; set; }
Property Value
|
System.Int32
|
MatchFinderType
Gets or sets the match finder algorithm variant determining hash granularity.
Declaration
public LzmaMatchFinderType MatchFinderType { get; set; }
Property Value
|
LzmaMatchFinderType
|
PositionStateBits
Gets or sets the number of position state bits (0–4) affecting literal/match modeling; default is 2.
Declaration
public int PositionStateBits { get; set; }
Property Value
|
System.Int32
|
StreamLength
Gets or sets the known uncompressed length for single standalone streams (not ZIP); -1 forces end marker emission.
Declaration
public long StreamLength { get; set; }
Property Value
|
System.Int64
|