C# Class FreakySources.Code.HuffmanRle

Mostra file Open project: KvanTTT/Freaky-Sources Class Usage Examples

Public Methods

Method Description
Decode ( HuffmanTree tree, byte bytes ) : byte[]
Encode ( HuffmanTree tree, byte bytes ) : byte[]
Encode ( HuffmanTree tree, byte bytes, int &curBit, byte result, int bitsCountPerRepLength = 8, int bitsCountPerNotRepLength = 8 ) : void

Method Details

Decode() public static method

public static Decode ( HuffmanTree tree, byte bytes ) : byte[]
tree HuffmanTree
bytes byte
return byte[]

Encode() public static method

public static Encode ( HuffmanTree tree, byte bytes ) : byte[]
tree HuffmanTree
bytes byte
return byte[]

Encode() public static method

public static Encode ( HuffmanTree tree, byte bytes, int &curBit, byte result, int bitsCountPerRepLength = 8, int bitsCountPerNotRepLength = 8 ) : void
tree HuffmanTree
bytes byte
curBit int
result byte
bitsCountPerRepLength int
bitsCountPerNotRepLength int
return void