add() — netty Function Reference
Architecture documentation for the add() function in QpackEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a8642bed_b3de_8bb7_a79f_f18b39f7cc89["add()"] 852088f4_0263_62b5_8e4d_5ed69d223709["Indices"] a8642bed_b3de_8bb7_a79f_f18b39f7cc89 -->|defined in| 852088f4_0263_62b5_8e4d_5ed69d223709 c02c31bf_f073_98b8_7f17_f6cd7211e31c["encodeHeaders()"] c02c31bf_f073_98b8_7f17_f6cd7211e31c -->|calls| a8642bed_b3de_8bb7_a79f_f18b39f7cc89 e5dd0675_23b6_2e4d_161a_a83f05c006a9["tryEncodeWithDynamicTable()"] e5dd0675_23b6_2e4d_161a_a83f05c006a9 -->|calls| a8642bed_b3de_8bb7_a79f_f18b39f7cc89 ff05e54c_ab86_28f0_9c02_ca61844188a2["tryAddToDynamicTable()"] ff05e54c_ab86_28f0_9c02_ca61844188a2 -->|calls| a8642bed_b3de_8bb7_a79f_f18b39f7cc89 style a8642bed_b3de_8bb7_a79f_f18b39f7cc89 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java lines 525–531
void add(int index) {
if (idx == array.length) {
// Double it if needed.
array = Arrays.copyOf(array, array.length << 1);
}
array[idx++] = index;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does add() do?
add() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java.
Where is add() defined?
add() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java at line 525.
What calls add()?
add() is called by 3 function(s): encodeHeaders, tryAddToDynamicTable, tryEncodeWithDynamicTable.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free