Home / Function/ encodeDecodeDeltaBase() — netty Function Reference

encodeDecodeDeltaBase() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java lines 137–145

    private int encodeDecodeDeltaBase(int requiredInsertCount, boolean postBase, int deltaBase) throws QpackException {
        final ByteBuf buf = Unpooled.buffer();
        QpackUtil.encodePrefixedInteger(buf, (byte) (postBase ? 0b0 : 0b1000_0000), 8, deltaBase);
        try {
            return decoder.decodeBase(buf, requiredInsertCount);
        } finally {
            buf.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free