Class DecompressorHuffmanTree
Huffman tree, used for decompression.
Inheritance
System.Object
DecompressorHuffmanTree
Namespace: Syncfusion.Compression
Assembly: Syncfusion.DocIO.UWP.dll
Syntax
public class DecompressorHuffmanTree : Object
Constructors
DecompressorHuffmanTree(Byte[])
Creates huffman tree.
Declaration
public DecompressorHuffmanTree(byte[] codeLengths)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | codeLengths |
Properties
DistanceTree
GET huffman tree for encoding and decoding distances.
Declaration
public static DecompressorHuffmanTree DistanceTree { get; }
Property Value
Type |
---|
DecompressorHuffmanTree |
LengthTree
GET huffman tree for encoding and decoding lengths.
Declaration
public static DecompressorHuffmanTree LengthTree { get; }
Property Value
Type |
---|
DecompressorHuffmanTree |
Methods
UnpackSymbol(CompressedStreamReader)
Reads and decompresses one symbol.
Declaration
public int UnpackSymbol(CompressedStreamReader input)
Parameters
Type | Name | Description |
---|---|---|
CompressedStreamReader | input |
Returns
Type |
---|
System.Int32 |