code: public void encode(OutputStream out, byte[] data) throws IOException {
      encode(out, data, 0, data.length);
    }
docs: 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)