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