Home / Function/ nioBuffers() — netty Function Reference

nioBuffers() — netty Function Reference

Architecture documentation for the nioBuffers() function in ReadOnlyByteBuf.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  aea7a737_8c3e_2734_6368_7004fad13ead["nioBuffers()"]
  a8231148_33c3_9fcb_ddcf_3c990925c3e4["ReadOnlyByteBuf"]
  aea7a737_8c3e_2734_6368_7004fad13ead -->|defined in| a8231148_33c3_9fcb_ddcf_3c990925c3e4
  6ee56f9b_48b4_e2e8_531d_288575075dc9["isReadOnly()"]
  aea7a737_8c3e_2734_6368_7004fad13ead -->|calls| 6ee56f9b_48b4_e2e8_531d_288575075dc9
  style aea7a737_8c3e_2734_6368_7004fad13ead fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/ReadOnlyByteBuf.java lines 401–411

    @Override
    public ByteBuffer[] nioBuffers(int index, int length) {
        ByteBuffer[] buffers = unwrap().nioBuffers(index, length);
        for (int i = 0; i < buffers.length; i++) {
            ByteBuffer buf = buffers[i];
            if (!buf.isReadOnly()) {
                buffers[i] = buf.asReadOnlyBuffer();
            }
        }
        return buffers;
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does nioBuffers() do?
nioBuffers() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ReadOnlyByteBuf.java.
Where is nioBuffers() defined?
nioBuffers() is defined in buffer/src/main/java/io/netty/buffer/ReadOnlyByteBuf.java at line 401.
What does nioBuffers() call?
nioBuffers() calls 1 function(s): isReadOnly.

Analyze Your Own Codebase

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

Try Supermodel Free