C# Class natix.CompactDS.EliasGamma

Inheritance: IIEncoder32
Mostrar archivo Open project: sadit/natix

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
EliasGamma ( ) : 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