checkIndexBounds() — netty Function Reference
Architecture documentation for the checkIndexBounds() function in AbstractByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 178d0cb9_a281_7046_35b1_0dbfaffe6b93["checkIndexBounds()"] bbab270f_457a_3319_83a8_0a0540484666["AbstractByteBuf"] 178d0cb9_a281_7046_35b1_0dbfaffe6b93 -->|defined in| bbab270f_457a_3319_83a8_0a0540484666 e9e1f861_5813_ec75_8a61_6b29c497ac9f["ByteBuf()"] e9e1f861_5813_ec75_8a61_6b29c497ac9f -->|calls| 178d0cb9_a281_7046_35b1_0dbfaffe6b93 style 178d0cb9_a281_7046_35b1_0dbfaffe6b93 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 110–116
private static void checkIndexBounds(final int readerIndex, final int writerIndex, final int capacity) {
if (readerIndex < 0 || readerIndex > writerIndex || writerIndex > capacity) {
throw new IndexOutOfBoundsException(String.format(
"readerIndex: %d, writerIndex: %d (expected: 0 <= readerIndex <= writerIndex <= capacity(%d))",
readerIndex, writerIndex, capacity));
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does checkIndexBounds() do?
checkIndexBounds() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java.
Where is checkIndexBounds() defined?
checkIndexBounds() is defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java at line 110.
What calls checkIndexBounds()?
checkIndexBounds() is called by 1 function(s): ByteBuf.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free