Show / Hide Table of Contents

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 Source

InflaterHuffmanTree(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 Source

defDistTree

Distance tree

Declaration
public static InflaterHuffmanTree defDistTree
Field Value
Type Description
InflaterHuffmanTree
| Improve this Doc View Source

defLitLenTree

Literal length tree

Declaration
public static InflaterHuffmanTree defLitLenTree
Field Value
Type Description
InflaterHuffmanTree

Methods

| Improve this Doc View Source

GetSymbol(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.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors