readerIndexBoundaryCheck2() — netty Function Reference
Architecture documentation for the readerIndexBoundaryCheck2() function in AbstractByteBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1d3787fe_bdaf_ffd5_e7dd_eab2beff7475["readerIndexBoundaryCheck2()"] 6540f2d1_cdad_6705_dd1d_9a24e2e53242["AbstractByteBufTest"] 1d3787fe_bdaf_ffd5_e7dd_eab2beff7475 -->|defined in| 6540f2d1_cdad_6705_dd1d_9a24e2e53242 style 1d3787fe_bdaf_ffd5_e7dd_eab2beff7475 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java lines 171–184
@Test
public void readerIndexBoundaryCheck2() {
try {
buffer.writerIndex(buffer.capacity());
} catch (IndexOutOfBoundsException e) {
fail();
}
assertThrows(IndexOutOfBoundsException.class, new Executable() {
@Override
public void execute() {
buffer.readerIndex(buffer.capacity() + 1);
}
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does readerIndexBoundaryCheck2() do?
readerIndexBoundaryCheck2() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java.
Where is readerIndexBoundaryCheck2() defined?
readerIndexBoundaryCheck2() is defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java at line 171.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free