Home / Function/ readerIndexBoundaryCheck1() — netty Function Reference

readerIndexBoundaryCheck1() — netty Function Reference

Architecture documentation for the readerIndexBoundaryCheck1() function in AbstractByteBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  af265b6a_4ac8_a19b_7060_34fa9600add7["readerIndexBoundaryCheck1()"]
  6540f2d1_cdad_6705_dd1d_9a24e2e53242["AbstractByteBufTest"]
  af265b6a_4ac8_a19b_7060_34fa9600add7 -->|defined in| 6540f2d1_cdad_6705_dd1d_9a24e2e53242
  style af265b6a_4ac8_a19b_7060_34fa9600add7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java lines 156–169

    @Test
    public void readerIndexBoundaryCheck1() {
        try {
            buffer.writerIndex(0);
        } catch (IndexOutOfBoundsException e) {
            fail();
        }
        assertThrows(IndexOutOfBoundsException.class, new Executable() {
            @Override
            public void execute() {
                buffer.readerIndex(-1);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does readerIndexBoundaryCheck1() do?
readerIndexBoundaryCheck1() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java.
Where is readerIndexBoundaryCheck1() defined?
readerIndexBoundaryCheck1() is defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java at line 156.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free