Home / Function/ doWriteBytes() — netty Function Reference

doWriteBytes() — netty Function Reference

Architecture documentation for the doWriteBytes() function in NioSocketChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  41ad224d_c366_9ba5_43cc_107cc82854d4["doWriteBytes()"]
  f2eb70be_1f76_3e54_0854_050839fa58d4["NioSocketChannel"]
  41ad224d_c366_9ba5_43cc_107cc82854d4 -->|defined in| f2eb70be_1f76_3e54_0854_050839fa58d4
  style 41ad224d_c366_9ba5_43cc_107cc82854d4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java lines 353–357

    @Override
    protected int doWriteBytes(ByteBuf buf) throws Exception {
        final int expectedWrittenBytes = buf.readableBytes();
        return buf.readBytes(javaChannel(), expectedWrittenBytes);
    }

Domain

Subdomains

Frequently Asked Questions

What does doWriteBytes() do?
doWriteBytes() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java.
Where is doWriteBytes() defined?
doWriteBytes() is defined in transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java at line 353.

Analyze Your Own Codebase

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

Try Supermodel Free