doReadBytes() — netty Function Reference
Architecture documentation for the doReadBytes() function in NioDomainSocketChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 78ed70a1_a561_0b51_3760_3d89c80c500c["doReadBytes()"] cfd0ddf4_54f6_2e2b_6078_ee84ec74aadf["NioDomainSocketChannel"] 78ed70a1_a561_0b51_3760_3d89c80c500c -->|defined in| cfd0ddf4_54f6_2e2b_6078_ee84ec74aadf style 78ed70a1_a561_0b51_3760_3d89c80c500c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/socket/nio/NioDomainSocketChannel.java lines 348–353
@Override
protected int doReadBytes(ByteBuf byteBuf) throws Exception {
final RecvByteBufAllocator.Handle allocHandle = unsafe().recvBufAllocHandle();
allocHandle.attemptedBytesRead(byteBuf.writableBytes());
return byteBuf.writeBytes(javaChannel(), allocHandle.attemptedBytesRead());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does doReadBytes() do?
doReadBytes() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/socket/nio/NioDomainSocketChannel.java.
Where is doReadBytes() defined?
doReadBytes() is defined in transport/src/main/java/io/netty/channel/socket/nio/NioDomainSocketChannel.java at line 348.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free