C# Class ICSharpCode.SharpZipLib.Zip.Compression.InflaterHuffmanTree

Huffman tree used for inflation
Show file Open project: icsharpcode/SharpZipLib Class Usage Examples

Public Properties

Property Type Description
defDistTree InflaterHuffmanTree
defLitLenTree InflaterHuffmanTree

Public Methods

Method Description
GetSymbol ( StreamManipulator input ) : int

Reads the next symbol from input. The symbol is encoded using the huffman tree.

InflaterHuffmanTree ( byte codeLengths ) : System

Constructs a Huffman tree from the array of code lengths.

Private Methods

Method Description
BuildTree ( byte codeLengths ) : void
InflaterHuffmanTree ( ) : System

Method Details

GetSymbol() public method

Reads the next symbol from input. The symbol is encoded using the huffman tree.
public GetSymbol ( StreamManipulator input ) : int
input ICSharpCode.SharpZipLib.Zip.Compression.Streams.StreamManipulator /// input the input source. ///
return int

InflaterHuffmanTree() public method

Constructs a Huffman tree from the array of code lengths.
public InflaterHuffmanTree ( byte codeLengths ) : System
codeLengths byte /// the array of code lengths ///
return System

Property Details

defDistTree public static property

Distance tree
public static InflaterHuffmanTree,ICSharpCode.SharpZipLib.Zip.Compression defDistTree
return InflaterHuffmanTree

defLitLenTree public static property

Literal length tree
public static InflaterHuffmanTree,ICSharpCode.SharpZipLib.Zip.Compression defLitLenTree
return InflaterHuffmanTree