Home / Function/ encodePostBaseIndexed() — netty Function Reference

encodePostBaseIndexed() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  07b6b4b6_0f8d_7e39_baf3_06035d82689b["encodePostBaseIndexed()"]
  9e578dbc_12be_4439_554b_24e265961ea5["QpackEncoder"]
  07b6b4b6_0f8d_7e39_baf3_06035d82689b -->|defined in| 9e578dbc_12be_4439_554b_24e265961ea5
  4290254a_d002_4407_68f0_95045618c5ff["encodeHeader()"]
  4290254a_d002_4407_68f0_95045618c5ff -->|calls| 07b6b4b6_0f8d_7e39_baf3_06035d82689b
  e6a8c78f_612c_a898_3946_dd974c0e8e72["encodeWithDynamicTable()"]
  e6a8c78f_612c_a898_3946_dd974c0e8e72 -->|calls| 07b6b4b6_0f8d_7e39_baf3_06035d82689b
  e5dd0675_23b6_2e4d_161a_a83f05c006a9["tryEncodeWithDynamicTable()"]
  e5dd0675_23b6_2e4d_161a_a83f05c006a9 -->|calls| 07b6b4b6_0f8d_7e39_baf3_06035d82689b
  style 07b6b4b6_0f8d_7e39_baf3_06035d82689b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java lines 421–428

    private void encodePostBaseIndexed(ByteBuf out, int base, int index) {
        // https://www.rfc-editor.org/rfc/rfc9204.html#name-indexed-field-line-with-pos
        //   0   1   2   3   4   5   6   7
        // +---+---+---+---+---+---+---+---+
        // | 0 | 0 | 0 | 1 |  Index (4+)   |
        // +---+---+---+---+---------------+
        encodePrefixedInteger(out, (byte) 0b0001_0000, 4, index - base);
    }

Domain

Subdomains

Frequently Asked Questions

What does encodePostBaseIndexed() do?
encodePostBaseIndexed() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java.
Where is encodePostBaseIndexed() defined?
encodePostBaseIndexed() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java at line 421.
What calls encodePostBaseIndexed()?
encodePostBaseIndexed() is called by 3 function(s): encodeHeader, encodeWithDynamicTable, tryEncodeWithDynamicTable.

Analyze Your Own Codebase

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

Try Supermodel Free