Home / Function/ doWriteBytes() — netty Function Reference

doWriteBytes() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6de77bb6_4466_8054_981b_95a7424de566["doWriteBytes()"]
  cfd0ddf4_54f6_2e2b_6078_ee84ec74aadf["NioDomainSocketChannel"]
  6de77bb6_4466_8054_981b_95a7424de566 -->|defined in| cfd0ddf4_54f6_2e2b_6078_ee84ec74aadf
  style 6de77bb6_4466_8054_981b_95a7424de566 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/socket/nio/NioDomainSocketChannel.java lines 355–359

    @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/NioDomainSocketChannel.java.
Where is doWriteBytes() defined?
doWriteBytes() is defined in transport/src/main/java/io/netty/channel/socket/nio/NioDomainSocketChannel.java at line 355.

Analyze Your Own Codebase

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

Try Supermodel Free