Home / Function/ assertReadyOnlyNioBuffersWithPositionLength() — netty Function Reference

assertReadyOnlyNioBuffersWithPositionLength() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d32c469a_22af_8e8a_4cc4_179f371abbdb["assertReadyOnlyNioBuffersWithPositionLength()"]
  6540f2d1_cdad_6705_dd1d_9a24e2e53242["AbstractByteBufTest"]
  d32c469a_22af_8e8a_4cc4_179f371abbdb -->|defined in| 6540f2d1_cdad_6705_dd1d_9a24e2e53242
  7da4f93c_5520_2b9a_abac_17d43782f768["testReadyOnlyNioBuffersWithPositionLength()"]
  7da4f93c_5520_2b9a_abac_17d43782f768 -->|calls| d32c469a_22af_8e8a_4cc4_179f371abbdb
  e0dbfa7d_34c6_925c_b729_4d290d63298c["testReadyOnlySliceNioBuffersWithPositionLength()"]
  e0dbfa7d_34c6_925c_b729_4d290d63298c -->|calls| d32c469a_22af_8e8a_4cc4_179f371abbdb
  ab7bfc11_7765_f879_d613_bea050ffc8cb["testReadyOnlyDuplicateNioBuffersWithPositionLength()"]
  ab7bfc11_7765_f879_d613_bea050ffc8cb -->|calls| d32c469a_22af_8e8a_4cc4_179f371abbdb
  style d32c469a_22af_8e8a_4cc4_179f371abbdb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java lines 6412–6417

    static void assertReadyOnlyNioBuffersWithPositionLength(ByteBuf buffer) {
        assertTrue(buffer.isReadOnly());
        for (ByteBuffer nioBuffer: buffer.asReadOnly().nioBuffers(0, buffer.capacity())) {
            assertTrue(nioBuffer.isReadOnly());
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does assertReadyOnlyNioBuffersWithPositionLength() do?
assertReadyOnlyNioBuffersWithPositionLength() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java.
Where is assertReadyOnlyNioBuffersWithPositionLength() defined?
assertReadyOnlyNioBuffersWithPositionLength() is defined in buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java at line 6412.
What calls assertReadyOnlyNioBuffersWithPositionLength()?
assertReadyOnlyNioBuffersWithPositionLength() is called by 3 function(s): testReadyOnlyDuplicateNioBuffersWithPositionLength, testReadyOnlyNioBuffersWithPositionLength, testReadyOnlySliceNioBuffersWithPositionLength.

Analyze Your Own Codebase

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

Try Supermodel Free