Xceed Real-Time Zip for .NET Documentation
NumLiteralPositionBits Property


Xceed.Compression Assembly > Xceed.Compression.LZMA Namespace > LZMAOptions Class : NumLiteralPositionBits Property
 Gets or sets the number of literal position bits.
Syntax
'Declaration
 
Public Property NumLiteralPositionBits As Byte
'Usage
 
Dim instance As LZMAOptions
Dim value As Byte
 
instance.NumLiteralPositionBits = value
 
value = instance.NumLiteralPositionBits
public byte NumLiteralPositionBits {get; set;}

Property Value

A byte representing the number of literal position bits. By default, 2.
Remarks

The number must be between 0 and 4.

The number of literal position bits (N) is intended for periodical data when the period is equal to 2^N. For example, for 32-bit (4 bytes) periodical data you can use a value of 2. Often it's better to set the literal context bits property to 0, if you change this property's default value.

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