Class InflaterHuffmanTree
Huffman tree used for inflation
Inheritance
System.Object
InflaterHuffmanTree
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ICSharpCode.SharpZipLib.Zip.Compression
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public class InflaterHuffmanTree
Constructors
| Improve this Doc View SourceInflaterHuffmanTree(IList<Byte>)
Constructs a Huffman tree from the array of code lengths.
Declaration
public InflaterHuffmanTree(IList<byte> codeLengths)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Byte> | codeLengths | the array of code lengths |
Fields
| Improve this Doc View SourcedefDistTree
Distance tree
Declaration
public static InflaterHuffmanTree defDistTree
Field Value
Type | Description |
---|---|
InflaterHuffmanTree |
defLitLenTree
Literal length tree
Declaration
public static InflaterHuffmanTree defLitLenTree
Field Value
Type | Description |
---|---|
InflaterHuffmanTree |
Methods
| Improve this Doc View SourceGetSymbol(StreamManipulator)
Reads the next symbol from input. The symbol is encoded using the huffman tree.
Declaration
public int GetSymbol(StreamManipulator input)
Parameters
Type | Name | Description |
---|---|---|
StreamManipulator | input | input the input source. |
Returns
Type | Description |
---|---|
System.Int32 | the next symbol, or -1 if not enough input is available. |