Home / Function/ decodeIndexedWithPostBase() — netty Function Reference

decodeIndexedWithPostBase() — netty Function Reference

Architecture documentation for the decodeIndexedWithPostBase() function in QpackDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cccdf44c_a496_bce0_58f2_526c2bec2944["decodeIndexedWithPostBase()"]
  90fa2d3f_8d04_4c74_e2ce_52229be77194["QpackDecoder"]
  cccdf44c_a496_bce0_58f2_526c2bec2944 -->|defined in| 90fa2d3f_8d04_4c74_e2ce_52229be77194
  678f973e_104e_7340_6c3b_b4ef23003fe0["decode()"]
  678f973e_104e_7340_6c3b_b4ef23003fe0 -->|calls| cccdf44c_a496_bce0_58f2_526c2bec2944
  style cccdf44c_a496_bce0_58f2_526c2bec2944 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackDecoder.java lines 316–327

    private void decodeIndexedWithPostBase(ByteBuf in, BiConsumer<CharSequence, CharSequence> sink, int base)
            throws QpackException {
        // 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+)   |
        // +---+---+---+---+---------------+
        final int idx = decodePrefixedIntegerAsInt(in, 4);
        assert idx >= 0;
        QpackHeaderField field = dynamicTable.getEntryRelativeEncodedField(base + idx);
        sink.accept(field.name, field.value);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does decodeIndexedWithPostBase() do?
decodeIndexedWithPostBase() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackDecoder.java.
Where is decodeIndexedWithPostBase() defined?
decodeIndexedWithPostBase() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackDecoder.java at line 316.
What calls decodeIndexedWithPostBase()?
decodeIndexedWithPostBase() is called by 1 function(s): decode.

Analyze Your Own Codebase

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

Try Supermodel Free