hpack/src/main/java/com/twitter/hpack/HuffmanEncoder.java
public void encode(OutputStream out, byte[] data) throws IOException {
    encode(out, data, 0, data.length);
  }
public void encode(OutputStream out, byte[] data) throws IOException {
    encode(out, data, 0, data.length);
  }
Compresses the input string literal using the Huffman coding.
@param  out  the output stream for the compressed data
@param  data the string literal to be Huffman encoded
@throws IOException if an I/O error occurs.
@see    com.twitter.hpack.HuffmanEncoder#encode(OutputStream, byte[], int, int)