public int GetCode(byte character, out int bitsCount) { BinaryTreeNode node = set[character]; return(GetCode(node, out bitsCount)); }
public HuffmanTree() { Add(0); newNode = root; }