buildHuffmanTable
fn
bool buildHuffmanTable(const(ubyte)[] codeLengths, int numCodes, ref HuffmanTable table) nothrow @safeBuild a Huffman decode table from code lengths.
Parameters
codeLengths | Array of code lengths for each symbol |
numCodes | Number of codes |
table | Output Huffman table |
Returns
true on success, false on error.