Home / Function/ assertReadyOnlyNioBufferWithPositionLength() — netty Function Reference

assertReadyOnlyNioBufferWithPositionLength() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  fa8764b8_8d31_d530_339a_585b8b5938ad["assertReadyOnlyNioBufferWithPositionLength()"]
  6540f2d1_cdad_6705_dd1d_9a24e2e53242["AbstractByteBufTest"]
  fa8764b8_8d31_d530_339a_585b8b5938ad -->|defined in| 6540f2d1_cdad_6705_dd1d_9a24e2e53242
  9e5c49b3_2018_0252_97ef_504169d83342["testReadyOnlyNioBufferWithPositionLength()"]
  9e5c49b3_2018_0252_97ef_504169d83342 -->|calls| fa8764b8_8d31_d530_339a_585b8b5938ad
  894b23e2_1d8a_e700_cf23_33bfb1718c46["testReadyOnlySliceNioBufferWithPositionLength()"]
  894b23e2_1d8a_e700_cf23_33bfb1718c46 -->|calls| fa8764b8_8d31_d530_339a_585b8b5938ad
  eb1801d8_03b5_800d_f66b_52df8cbb630d["testReadyOnlyDuplicateNioBufferWithPositionLength()"]
  eb1801d8_03b5_800d_f66b_52df8cbb630d -->|calls| fa8764b8_8d31_d530_339a_585b8b5938ad
  style fa8764b8_8d31_d530_339a_585b8b5938ad fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java lines 6370–6373

    static void assertReadyOnlyNioBufferWithPositionLength(ByteBuf buffer) {
        assertTrue(buffer.isReadOnly());
        assertTrue(buffer.nioBuffer(0, buffer.capacity()).isReadOnly());
    }

Domain

Subdomains

Frequently Asked Questions

What does assertReadyOnlyNioBufferWithPositionLength() do?
assertReadyOnlyNioBufferWithPositionLength() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java.
Where is assertReadyOnlyNioBufferWithPositionLength() defined?
assertReadyOnlyNioBufferWithPositionLength() is defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java at line 6370.
What calls assertReadyOnlyNioBufferWithPositionLength()?
assertReadyOnlyNioBufferWithPositionLength() is called by 3 function(s): testReadyOnlyDuplicateNioBufferWithPositionLength, testReadyOnlyNioBufferWithPositionLength, testReadyOnlySliceNioBufferWithPositionLength.

Analyze Your Own Codebase

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

Try Supermodel Free