Home / Function/ doWrite0() — netty Function Reference

doWrite0() — netty Function Reference

Architecture documentation for the doWrite0() function in AbstractNioByteChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  254496f6_25fc_84de_730e_8f3b0842a4b3["doWrite0()"]
  81dd42bf_4dab_740c_6405_14423e9ad1f8["AbstractNioByteChannel"]
  254496f6_25fc_84de_730e_8f3b0842a4b3 -->|defined in| 81dd42bf_4dab_740c_6405_14423e9ad1f8
  46da3fe7_43e8_758e_f039_58b516d9c088["incompleteWrite()"]
  254496f6_25fc_84de_730e_8f3b0842a4b3 -->|calls| 46da3fe7_43e8_758e_f039_58b516d9c088
  e280c816_366c_4e91_6697_7eba37a14c24["doWriteInternal()"]
  254496f6_25fc_84de_730e_8f3b0842a4b3 -->|calls| e280c816_366c_4e91_6697_7eba37a14c24
  style 254496f6_25fc_84de_730e_8f3b0842a4b3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java lines 216–223

    protected final int doWrite0(ChannelOutboundBuffer in) throws Exception {
        Object msg = in.current();
        if (msg == null) {
            // Directly return here so incompleteWrite(...) is not called.
            return 0;
        }
        return doWriteInternal(in, in.current());
    }

Domain

Subdomains

Frequently Asked Questions

What does doWrite0() do?
doWrite0() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java.
Where is doWrite0() defined?
doWrite0() is defined in transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java at line 216.
What does doWrite0() call?
doWrite0() calls 2 function(s): doWriteInternal, incompleteWrite.

Analyze Your Own Codebase

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

Try Supermodel Free