C# Class natix.CompactDS.BinarySearchCoding

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

Public Methods

Method Description
BinarySearchCoding ( ) : System
BinarySearchCoding ( int size ) : System
Decode ( BitStream32 stream, BitStreamCtx ctx ) : int
Decode ( BitStream32 stream, int N, BitStreamCtx ctx ) : int
Encode ( BitStream32 stream, int u ) : void
Encode ( BitStream32 stream, int u, int N ) : void
Load ( BinaryReader Input ) : void
Save ( BinaryWriter Output ) : void

Method Details

BinarySearchCoding() public method

public BinarySearchCoding ( ) : System
return System

BinarySearchCoding() public method

public BinarySearchCoding ( int size ) : System
size int
return System

Decode() public method

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

Decode() public method

public Decode ( BitStream32 stream, int N, BitStreamCtx ctx ) : int
stream BitStream32
N int
ctx BitStreamCtx
return int

Encode() public method

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

Encode() public method

public Encode ( BitStream32 stream, int u, int N ) : void
stream BitStream32
u int
N int
return void

Load() public method

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

Save() public method

public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
return void