Home / Function/ doWriteBytes() — netty Function Reference

doWriteBytes() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3b0f7958_5a8e_a06c_cf2d_a4f50e2b6665["doWriteBytes()"]
  462ee44c_01dd_0264_afa1_574b02e134cf["OioByteStreamChannel"]
  3b0f7958_5a8e_a06c_cf2d_a4f50e2b6665 -->|defined in| 462ee44c_01dd_0264_afa1_574b02e134cf
  style 3b0f7958_5a8e_a06c_cf2d_a4f50e2b6665 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/oio/OioByteStreamChannel.java lines 114–121

    @Override
    protected void doWriteBytes(ByteBuf buf) throws Exception {
        OutputStream os = this.os;
        if (os == null) {
            throw new NotYetConnectedException();
        }
        buf.readBytes(os, buf.readableBytes());
    }

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/oio/OioByteStreamChannel.java.
Where is doWriteBytes() defined?
doWriteBytes() is defined in transport/src/main/java/io/netty/channel/oio/OioByteStreamChannel.java at line 114.

Analyze Your Own Codebase

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

Try Supermodel Free