Home / Function/ encodeLiteralWithNameRefDynamicTable() — netty Function Reference

encodeLiteralWithNameRefDynamicTable() — netty Function Reference

Architecture documentation for the encodeLiteralWithNameRefDynamicTable() function in QpackEncoder.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  31073f0d_d6bf_e361_71a1_5382822ea3ed["encodeLiteralWithNameRefDynamicTable()"]
  9e578dbc_12be_4439_554b_24e265961ea5["QpackEncoder"]
  31073f0d_d6bf_e361_71a1_5382822ea3ed -->|defined in| 9e578dbc_12be_4439_554b_24e265961ea5
  e5dd0675_23b6_2e4d_161a_a83f05c006a9["tryEncodeWithDynamicTable()"]
  e5dd0675_23b6_2e4d_161a_a83f05c006a9 -->|calls| 31073f0d_d6bf_e361_71a1_5382822ea3ed
  8c4148c2_fd3d_471d_6dd9_a42039bbcbac["encodeStringLiteral()"]
  31073f0d_d6bf_e361_71a1_5382822ea3ed -->|calls| 8c4148c2_fd3d_471d_6dd9_a42039bbcbac
  style 31073f0d_d6bf_e361_71a1_5382822ea3ed fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java lines 445–458

    private void encodeLiteralWithNameRefDynamicTable(ByteBuf out, int base, int nameIndex, CharSequence value) {
        // https://www.rfc-editor.org/rfc/rfc9204.html#name-literal-field-line-with-nam
        //     0   1   2   3   4   5   6   7
        //   +---+---+---+---+---+---+---+---+
        //   | 0 | 1 | N | T |Name Index (4+)|
        //   +---+---+---+---+---------------+
        //   | H |     Value Length (7+)     |
        //   +---+---------------------------+
        //   |  Value String (Length bytes)  |
        //   +-------------------------------+
        // TODO: Force N = 0 till we support sensitivity detector
        encodePrefixedInteger(out, (byte) 0b0101_0000, 4, base - nameIndex - 1);
        encodeStringLiteral(out, value);
    }

Domain

Subdomains

Frequently Asked Questions

What does encodeLiteralWithNameRefDynamicTable() do?
encodeLiteralWithNameRefDynamicTable() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java.
Where is encodeLiteralWithNameRefDynamicTable() defined?
encodeLiteralWithNameRefDynamicTable() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java at line 445.
What does encodeLiteralWithNameRefDynamicTable() call?
encodeLiteralWithNameRefDynamicTable() calls 1 function(s): encodeStringLiteral.
What calls encodeLiteralWithNameRefDynamicTable()?
encodeLiteralWithNameRefDynamicTable() is called by 1 function(s): tryEncodeWithDynamicTable.

Analyze Your Own Codebase

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

Try Supermodel Free