Add faster Huffman encoding implementation, not yet used in production.

PiperOrigin-RevId: 335094006
Change-Id: I93187fb8a22cfb58dd919fb8deb1bcb906589adf
diff --git a/http2/hpack/huffman/hpack_huffman_encoder.h b/http2/hpack/huffman/hpack_huffman_encoder.h
index b7012b4..fd9912c 100644
--- a/http2/hpack/huffman/hpack_huffman_encoder.h
+++ b/http2/hpack/huffman/hpack_huffman_encoder.h
@@ -38,6 +38,13 @@
                                          size_t encoded_size,
                                          std::string* huffman);
 
+// Encode |input| with the Huffman encoding defined RFC7541, used in HPACK and
+// QPACK.  |encoded_size| must be the value returned by ExactHuffmanSize().
+// Appends the result to the end of |*output|.
+QUICHE_EXPORT_PRIVATE void HuffmanEncodeFast(quiche::QuicheStringPiece input,
+                                             size_t encoded_size,
+                                             std::string* output);
+
 }  // namespace http2
 
 #endif  // QUICHE_HTTP2_HPACK_HUFFMAN_HPACK_HUFFMAN_ENCODER_H_