Home / Function/ encodeDecodeRequiredInsertCount() — netty Function Reference

encodeDecodeRequiredInsertCount() — netty Function Reference

Architecture documentation for the encodeDecodeRequiredInsertCount() function in QpackDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  bb203c61_52d2_6d5b_5e2a_0658e75b10ae["encodeDecodeRequiredInsertCount()"]
  306cb9ff_c699_c029_57de_27fe788cc819["QpackDecoderTest"]
  bb203c61_52d2_6d5b_5e2a_0658e75b10ae -->|defined in| 306cb9ff_c699_c029_57de_27fe788cc819
  6973559d_619b_85fb_3e6a_3ea043f41865["getWithRelativeIndex()"]
  6973559d_619b_85fb_3e6a_3ea043f41865 -->|calls| bb203c61_52d2_6d5b_5e2a_0658e75b10ae
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c["getWithPostBaseRelativeIndex()"]
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c -->|calls| bb203c61_52d2_6d5b_5e2a_0658e75b10ae
  5f4bad20_3700_e8bf_8781_1537837047a7["encodeDecodeVerifyRequiredInsertCount()"]
  5f4bad20_3700_e8bf_8781_1537837047a7 -->|calls| bb203c61_52d2_6d5b_5e2a_0658e75b10ae
  style bb203c61_52d2_6d5b_5e2a_0658e75b10ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java lines 147–155

    private int encodeDecodeRequiredInsertCount(int count) throws QpackException {
        final ByteBuf buf = Unpooled.buffer();
        QpackUtil.encodePrefixedInteger(buf, (byte) 0b0, 8, count == 0 ? 0 : count % (2L * maxEntries) + 1);
        try {
            return decoder.decodeRequiredInsertCount(attributes, buf);
        } finally {
            buf.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does encodeDecodeRequiredInsertCount() do?
encodeDecodeRequiredInsertCount() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java.
Where is encodeDecodeRequiredInsertCount() defined?
encodeDecodeRequiredInsertCount() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java at line 147.
What calls encodeDecodeRequiredInsertCount()?
encodeDecodeRequiredInsertCount() is called by 3 function(s): encodeDecodeVerifyRequiredInsertCount, getWithPostBaseRelativeIndex, getWithRelativeIndex.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free