Свойство | Тип | Описание | |
---|---|---|---|
freqs | short[] | ||
length | byte[] | ||
minNumCodes | int | ||
numCodes | int |
Метод | Описание | |
---|---|---|
BuildCodes ( ) : void |
Build dynamic codes and lengths
|
|
BuildLength ( int childs ) : void | ||
BuildTree ( ) : void | ||
CalcBLFreq ( Tree blTree ) : void |
Scan a literal or distance tree to determine the frequencies of the codes in the bit length tree.
|
|
CheckEmpty ( ) : void |
Check that all frequencies are zero
|
|
GetEncodedLength ( ) : int |
Get encoded length
|
|
Reset ( ) : void |
Resets the internal state of the tree
|
|
SetStaticCodes ( short staticCodes, byte staticLengths ) : void |
Set static codes and length
|
|
Tree ( DeflaterHuffman dh, int elems, int minCodes, int maxLength ) : System | ||
WriteSymbol ( int code ) : void | ||
WriteTree ( Tree blTree ) : void |
Write tree values
|
public SetStaticCodes ( short staticCodes, byte staticLengths ) : void | ||
staticCodes | short | new codes |
staticLengths | byte | length for new codes |
Результат | void |
public Tree ( DeflaterHuffman dh, int elems, int minCodes, int maxLength ) : System | ||
dh | DeflaterHuffman | |
elems | int | |
minCodes | int | |
maxLength | int | |
Результат | System |
public WriteTree ( Tree blTree ) : void | ||
blTree | Tree | Tree to write |
Результат | void |