C# Class natix.CompactDS.EliasGamma64

Inheritance: IIEncoder64
显示文件 Open project: sadit/natix

Public Methods

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

Stores the number of zeros at the beggining

Private Methods

Method Description
EliasGamma64 ( ) : System

Method Details

Decode() public method

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

Encode() public method

public Encode ( BitStream32 Buffer, long u ) : void
Buffer BitStream32
u long
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