private HuffmanTreeNode CreateRawValueTree(Stream input, Match[] matches) { var inputArray = ToArray(input); var huffmanInput = RemoveMatchesFromInput(inputArray, matches); var tree = new HuffmanTree(8); return(tree.Build(inputArray)); }
private HuffmanTreeNode CreateDispIndexTree() { var tree = new HuffmanTree(8); return(tree.Build(_dispIndexes)); }
private HuffmanTreeNode CreateIndexValueTree() { var tree = new HuffmanTree(8); return(tree.Build(_countIndexes)); }