ClassLzmaSettings
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
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.
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).
LiteralContextBits
Gets or sets literal context bits (0–8) influencing prediction based on preceding bytes; default is 3.
LiteralPositionBits
Gets or sets literal position bits (0–4) refining modeling by low address bits; default is 0.
MatchFinderType
Gets or sets the match finder algorithm variant determining hash granularity.
Declaration
public LzmaMatchFinderType MatchFinderType { get; set; }
Property Value
PositionStateBits
Gets or sets the number of position state bits (0–4) affecting literal/match modeling; default is 2.
StreamLength
Gets or sets the known uncompressed length for single standalone streams (not ZIP); -1 forces end marker emission.