channelRead0() — netty Function Reference
Architecture documentation for the channelRead0() function in SocketFileRegionTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f57b4fd0_ce30_5126_0750_098594d0bb59["channelRead0()"] 10e97476_1f4e_884d_9a84_89bb17909051["TestHandler"] f57b4fd0_ce30_5126_0750_098594d0bb59 -->|defined in| 10e97476_1f4e_884d_9a84_89bb17909051 dc677c81_2e3e_f3ff_ecb5_047b09d22ed1["testFileRegionCountLargerThenFile()"] dc677c81_2e3e_f3ff_ecb5_047b09d22ed1 -->|calls| f57b4fd0_ce30_5126_0750_098594d0bb59 6eac02da_298b_00fe_bf12_0ee99a88a418["testFileRegion0()"] 6eac02da_298b_00fe_bf12_0ee99a88a418 -->|calls| f57b4fd0_ce30_5126_0750_098594d0bb59 style f57b4fd0_ce30_5126_0750_098594d0bb59 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketFileRegionTest.java lines 291–301
@Override
public void channelRead0(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
byte[] actual = new byte[in.readableBytes()];
in.readBytes(actual);
int lastIdx = counter;
for (int i = 0; i < actual.length; i ++) {
assertEquals(data[i + lastIdx], actual[i]);
}
counter += actual.length;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does channelRead0() do?
channelRead0() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketFileRegionTest.java.
Where is channelRead0() defined?
channelRead0() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketFileRegionTest.java at line 291.
What calls channelRead0()?
channelRead0() is called by 2 function(s): testFileRegion0, testFileRegionCountLargerThenFile.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free