checkComponentIndex() — netty Function Reference
Architecture documentation for the checkComponentIndex() function in CompositeByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fa74dd51_3f34_2d56_ed8e_41955da7b338["checkComponentIndex()"] 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6["CompositeByteBuf"] fa74dd51_3f34_2d56_ed8e_41955da7b338 -->|defined in| 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6 59aa513a_9196_9707_e719_00f253da08eb["addComponent0()"] 59aa513a_9196_9707_e719_00f253da08eb -->|calls| fa74dd51_3f34_2d56_ed8e_41955da7b338 e9920c4e_d91d_be1d_34e0_9c0ddc060f5d["CompositeByteBuf()"] e9920c4e_d91d_be1d_34e0_9c0ddc060f5d -->|calls| fa74dd51_3f34_2d56_ed8e_41955da7b338 52131157_ab49_bbc0_4b2f_f75786fd3e51["addComponents0()"] 52131157_ab49_bbc0_4b2f_f75786fd3e51 -->|calls| fa74dd51_3f34_2d56_ed8e_41955da7b338 b2c8479d_72e9_1253_12ba_0eef85c53dd1["toByteIndex()"] b2c8479d_72e9_1253_12ba_0eef85c53dd1 -->|calls| fa74dd51_3f34_2d56_ed8e_41955da7b338 ab122f34_311d_08f3_ea76_dfd965d4ae24["ByteBuf()"] ab122f34_311d_08f3_ea76_dfd965d4ae24 -->|calls| fa74dd51_3f34_2d56_ed8e_41955da7b338 5362362a_2ed0_a37e_31c9_a9d1ba602883["numComponents()"] fa74dd51_3f34_2d56_ed8e_41955da7b338 -->|calls| 5362362a_2ed0_a37e_31c9_a9d1ba602883 style fa74dd51_3f34_2d56_ed8e_41955da7b338 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java lines 575–582
private void checkComponentIndex(int cIndex) {
ensureAccessible();
if (cIndex < 0 || cIndex > componentCount) {
throw new IndexOutOfBoundsException(String.format(
"cIndex: %d (expected: >= 0 && <= numComponents(%d))",
cIndex, componentCount));
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does checkComponentIndex() do?
checkComponentIndex() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java.
Where is checkComponentIndex() defined?
checkComponentIndex() is defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java at line 575.
What does checkComponentIndex() call?
checkComponentIndex() calls 1 function(s): numComponents.
What calls checkComponentIndex()?
checkComponentIndex() is called by 5 function(s): ByteBuf, CompositeByteBuf, addComponent0, addComponents0, toByteIndex.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free