encodeLiteralWithPostBaseNameRef() — netty Function Reference
Architecture documentation for the encodeLiteralWithPostBaseNameRef() function in QpackEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 45a48cc9_9def_4229_4428_84db06ae7a83["encodeLiteralWithPostBaseNameRef()"] 9e578dbc_12be_4439_554b_24e265961ea5["QpackEncoder"] 45a48cc9_9def_4229_4428_84db06ae7a83 -->|defined in| 9e578dbc_12be_4439_554b_24e265961ea5 e5dd0675_23b6_2e4d_161a_a83f05c006a9["tryEncodeWithDynamicTable()"] e5dd0675_23b6_2e4d_161a_a83f05c006a9 -->|calls| 45a48cc9_9def_4229_4428_84db06ae7a83 8c4148c2_fd3d_471d_6dd9_a42039bbcbac["encodeStringLiteral()"] 45a48cc9_9def_4229_4428_84db06ae7a83 -->|calls| 8c4148c2_fd3d_471d_6dd9_a42039bbcbac style 45a48cc9_9def_4229_4428_84db06ae7a83 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java lines 460–473
private void encodeLiteralWithPostBaseNameRef(ByteBuf out, int base, int nameIndex, CharSequence value) {
// https://www.rfc-editor.org/rfc/rfc9204.html#name-literal-field-line-with-pos
// 0 1 2 3 4 5 6 7
// +---+---+---+---+---+---+---+---+
// | 0 | 0 | 0 | 0 | N |NameIdx(3+)|
// +---+---+---+---+---+-----------+
// | H | Value Length (7+) |
// +---+---------------------------+
// | Value String (Length bytes) |
// +-------------------------------+
// TODO: Force N = 0 till we support sensitivity detector
encodePrefixedInteger(out, (byte) 0b0000_0000, 4, nameIndex - base);
encodeStringLiteral(out, value);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does encodeLiteralWithPostBaseNameRef() do?
encodeLiteralWithPostBaseNameRef() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java.
Where is encodeLiteralWithPostBaseNameRef() defined?
encodeLiteralWithPostBaseNameRef() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java at line 460.
What does encodeLiteralWithPostBaseNameRef() call?
encodeLiteralWithPostBaseNameRef() calls 1 function(s): encodeStringLiteral.
What calls encodeLiteralWithPostBaseNameRef()?
encodeLiteralWithPostBaseNameRef() 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