testGetUnsignedByte() — netty Function Reference
Architecture documentation for the testGetUnsignedByte() function in ReplayingDecoderByteBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8b0d5954_dfe1_a3e4_d446_a9c92d4eb457["testGetUnsignedByte()"] ef895588_b14f_ef47_4065_265c5001cad2["ReplayingDecoderByteBufTest"] 8b0d5954_dfe1_a3e4_d446_a9c92d4eb457 -->|defined in| ef895588_b14f_ef47_4065_265c5001cad2 style 8b0d5954_dfe1_a3e4_d446_a9c92d4eb457 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/test/java/io/netty/handler/codec/ReplayingDecoderByteBufTest.java lines 32–52
@Test
public void testGetUnsignedByte() {
ByteBuf buf = Unpooled.copiedBuffer("TestBuffer", CharsetUtil.ISO_8859_1);
ReplayingDecoderByteBuf buffer = new ReplayingDecoderByteBuf(buf);
boolean error;
int i = 0;
try {
for (;;) {
buffer.getUnsignedByte(i);
i++;
}
} catch (Signal e) {
error = true;
}
assertTrue(error);
assertEquals(10, i);
buf.release();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testGetUnsignedByte() do?
testGetUnsignedByte() is a function in the netty codebase, defined in codec-base/src/test/java/io/netty/handler/codec/ReplayingDecoderByteBufTest.java.
Where is testGetUnsignedByte() defined?
testGetUnsignedByte() is defined in codec-base/src/test/java/io/netty/handler/codec/ReplayingDecoderByteBufTest.java at line 32.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free