Property | Type | Description | |
---|---|---|---|
freqs | short[] | ||
length | byte[] | ||
minNumCodes | int | ||
numCodes | int |
Method | Description | |
---|---|---|
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 ( |
||
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 |
return | void |
public Tree ( |
||
dh | ||
elems | int | |
minCodes | int | |
maxLength | int | |
return | System |
public WriteTree ( Tree blTree ) : void | ||
blTree | Tree | Tree to write |
return | void |