Xceed .NET Libraries Documentation
NumLiteralContextBits Property


Xceed.Compression Assembly > Xceed.Compression.LZMA Namespace > LZMAOptions Class : NumLiteralContextBits Property
 Gets or sets the number of literal context bits.
Syntax
'Declaration
 
Public Property NumLiteralContextBits As Byte
'Usage
 
Dim instance As LZMAOptions

Dim value As Byte

 

instance.NumLiteralContextBits = value

 

value = instance.NumLiteralContextBits
public byte NumLiteralContextBits {get; set;}

Property Value

A byte representing the number of literal context bits. By default, 3.
Remarks

The number must be between 0 and 8.

Sometimes setting this property to 4 provides a gain for large streams.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LZMAOptions Class
LZMAOptions Members