LzmaCompressionOptions Class
The options of the compression of an LzmaStream.
public sealed class LzmaCompressionOptionsConstructors
| Name | Description |
|---|---|
| LzmaCompressionOptions() |
LzmaCompressionOptions()
LzmaCompressionOptions.cspublic LzmaCompressionOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| DictionarySize | Gets or sets the dictionary size in bytes, from 4 KiB to 1.5 GiB, or null to use the one of the preset. |
| Extreme | Gets or sets a value indicating whether to use the slower variant of the preset, which may compress better (xz --extreme). |
| LiteralContextBits | Gets or sets the number of literal context bits (lc), from 0 to 8. The default is 3. |
| LiteralPositionBits | Gets or sets the number of literal position bits (lp), from 0 to 4. The default is 0. |
| PositionBits | Gets or sets the number of position bits (pb), from 0 to 4. The default is 2. |
| Preset | Gets or sets the preset of xz, from 0 (fastest) to 9 (smallest output). The default is 6. |
DictionarySize
LzmaCompressionOptions.csGets or sets the dictionary size in bytes, from 4 KiB to 1.5 GiB, or null to use the one of the preset.
public int? DictionarySize { get; set; }Extreme
LzmaCompressionOptions.csLiteralContextBits
LzmaCompressionOptions.csGets or sets the number of literal context bits (lc), from 0 to 8. The default is 3.
public int LiteralContextBits { get; set; }LiteralPositionBits
LzmaCompressionOptions.csGets or sets the number of literal position bits (lp), from 0 to 4. The default is 0.
public int LiteralPositionBits { get; set; }PositionBits
LzmaCompressionOptions.csGets or sets the number of position bits (pb), from 0 to 4. The default is 2.
public int PositionBits { get; set; }Gets or sets the preset of xz, from 0 (fastest) to 9 (smallest output). The default is 6.
public int Preset { get; set; }