private void buildTree() {
        for (int i = 0; i < CODE_LENGTHS.length; i++) {
            addCode(i, CODES[i], CODE_LENGTHS[i]);
        }
    }
This class was originally composed from the following classes in <a
href="https://github.com/twitter/hpack">Twitter Hpack</a>.
<p>
<ul>
<li>{@code com.twitter.hpack.HuffmanEncoder}</li>
<li>{@code com.twitter.hpack.HuffmanDecoder}</li>
<li>{@code com.twitter.hpack.HpackUtil}</li>
</ul>
netbare-core/src/main/java/com/github/megatronking/netbare/http2/Huffman.java