XzCompressionOptions Class
The options of the compression of an XzStream.
public sealed class XzCompressionOptionsConstructors
| Name | Description |
|---|---|
| XzCompressionOptions() |
XzCompressionOptions()
XzCompressionOptions.cspublic XzCompressionOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| BlockSize | Gets or sets the number of bytes of uncompressed data of each block, or 0 to write a single block. The default is 0. |
| Check | Gets or sets the integrity check of the blocks. The default is XzCheck.Crc64. |
| 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). |
| Preset | Gets or sets the preset of xz, from 0 (fastest) to 9 (smallest output). The default is 6. |
BlockSize
XzCompressionOptions.csGets or sets the number of bytes of uncompressed data of each block, or 0 to write a single block. The default is 0.
public long BlockSize { get; set; }Gets or sets the integrity check of the blocks. The default is XzCheck.Crc64.
public XzCheck Check { get; set; }DictionarySize
XzCompressionOptions.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
XzCompressionOptions.csPreset
XzCompressionOptions.csGets or sets the preset of xz, from 0 (fastest) to 9 (smallest output). The default is 6.
public int Preset { get; set; }