Home / Function/ getDirectByteBufferBoundaryCheck() — netty Function Reference

getDirectByteBufferBoundaryCheck() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java lines 538–546

    @Test
    public void getDirectByteBufferBoundaryCheck() {
        assertThrows(IndexOutOfBoundsException.class, new Executable() {
            @Override
            public void execute() {
                buffer.getBytes(-1, ByteBuffer.allocateDirect(0));
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free