OneByteToThreeStringsDecoder Class — netty Architecture
Architecture documentation for the OneByteToThreeStringsDecoder class in FlowControlHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f4835942_e678_2335_3383_810e3a2d3e37["OneByteToThreeStringsDecoder"] 2c2a1f50_bd2c_b8c7_7865_a867706880d1["FlowControlHandlerTest.java"] f4835942_e678_2335_3383_810e3a2d3e37 -->|defined in| 2c2a1f50_bd2c_b8c7_7865_a867706880d1 0d483182_cce8_8940_6941_08dd6091e421["decode()"] f4835942_e678_2335_3383_810e3a2d3e37 -->|method| 0d483182_cce8_8940_6941_08dd6091e421
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/flow/FlowControlHandlerTest.java lines 670–680
private static final class OneByteToThreeStringsDecoder extends ByteToMessageDecoder {
@Override
protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) {
for (int i = 0; i < in.readableBytes(); i++) {
out.add("1");
out.add("2");
out.add("3");
}
in.readerIndex(in.readableBytes());
}
}
Source
Frequently Asked Questions
What is the OneByteToThreeStringsDecoder class?
OneByteToThreeStringsDecoder is a class in the netty codebase, defined in handler/src/test/java/io/netty/handler/flow/FlowControlHandlerTest.java.
Where is OneByteToThreeStringsDecoder defined?
OneByteToThreeStringsDecoder is defined in handler/src/test/java/io/netty/handler/flow/FlowControlHandlerTest.java at line 670.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free