C# Class BattleNet.Huffman

Show file Open project: dkuwahara/AlphaBot Class Usage Examples

Public Methods

Method Description
Compress ( byte input, byte &output ) : uint
Decompress ( byte input, byte &output ) : void
GetPacketSize ( List buffer, Int32 &headerSize ) : Int32

Method Details

Compress() public static method

public static Compress ( byte input, byte &output ) : uint
input byte
output byte
return uint

Decompress() public static method

public static Decompress ( byte input, byte &output ) : void
input byte
output byte
return void

GetPacketSize() public static method

public static GetPacketSize ( List buffer, Int32 &headerSize ) : Int32
buffer List
headerSize System.Int32
return System.Int32