class HpackDecoder {

    public void decode(int streamId, ByteBuf in, Http2Headers headers, boolean validateHeaders) throws Http2Exception {
        Http2HeadersSink sink = new Http2HeadersSink(headers, maxHeaderListSize);
        decode(in, sink, validateHeaders);

        // we have read all of our headers. See if we have exceeded our maxHeaderListSize. We must
        // delay throwing until this point to prevent dynamic table corruption
        if (sink.exceededMaxLength()) {
            headerListSizeExceeded(streamId, maxHeaderListSize, true);
        }
    }

      HpackDecoder(long maxHeaderListSize, int initialHuffmanDecodeCapacity);
      HpackDecoder(long maxHeaderListSize, int initialHuffmanDecodeCapacity, int maxHeaderTableSize);

}