C# Class natix.CompactDS.EliasGamma32

Inheritance: IIEncoder32
显示文件 Open project: sadit/natix Class Usage Examples

Public Methods

Method Description
Decode ( BitStream32 Buffer, BitStreamCtx ctx ) : int
Encode ( BitStream32 Buffer, int u ) : void
Load ( BinaryReader Input ) : void
Save ( BinaryWriter Output ) : void

Stores the number of zeros at the beggining

Private Methods

Method Description
EliasGamma32 ( ) : System

Method Details

Decode() public method

public Decode ( BitStream32 Buffer, BitStreamCtx ctx ) : int
Buffer BitStream32
ctx BitStreamCtx
return int

Encode() public method

public Encode ( BitStream32 Buffer, int u ) : void
Buffer BitStream32
u int
return void

Load() public method

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
return void

Save() public method

Stores the number of zeros at the beggining
public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
return void