Maven module :un.api : api-encoding :
Class : un.impl.io.deflate.HuffmanUtilities
Extends/Implements : -
Subclasses : -

All constants from RFC1951 deflate algorithm.
author  Johann Sorel


Variables : END_OF_BLOCK, DYNAMIC_KEY_LENGTH, LENGTH_EXTRABITS, LENGTH_BASEVALUE, DISTANCE_EXTRABITS, DISTANCE_BASEVALUE
Functions : buildHuffmanTree, buildFixedHuffmanLiteralTree, buildFixedHuffmanDistanceTree



Indicate an end of block */
public int END_OF_BLOCK

int[] DYNAMIC_KEY_LENGTH

int[] LENGTH_EXTRABITS

int[] LENGTH_BASEVALUE

int[] DISTANCE_EXTRABITS

int[] DISTANCE_BASEVALUE



param  lengths : code lengths
param  maxsize : max number of bits per code
return  huffman tree
public HuffmanTree buildHuffmanTree (int[] lengths, int maxsize)

public HuffmanTree buildFixedHuffmanLiteralTree ()

public HuffmanTree buildFixedHuffmanDistanceTree ()