testTinyEncode() — netty Function Reference
Architecture documentation for the testTinyEncode() function in ProtobufVarint32LengthFieldPrependerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD adc9573b_cbcd_c627_ea7f_ab445f91f417["testTinyEncode()"] 6eaee290_afed_8a50_d035_25ef3cea2e1f["ProtobufVarint32LengthFieldPrependerTest"] adc9573b_cbcd_c627_ea7f_ab445f91f417 -->|defined in| 6eaee290_afed_8a50_d035_25ef3cea2e1f style adc9573b_cbcd_c627_ea7f_ab445f91f417 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-protobuf/src/test/java/io/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrependerTest.java lines 168–181
@Test
public void testTinyEncode() {
byte[] b = { 4, 1, 1, 1, 1 };
assertTrue(ch.writeOutbound(wrappedBuffer(b, 1, b.length - 1)));
ByteBuf expected = wrappedBuffer(b);
ByteBuf actual = ch.readOutbound();
assertEquals(expected, actual);
assertFalse(ch.finish());
expected.release();
actual.release();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testTinyEncode() do?
testTinyEncode() is a function in the netty codebase, defined in codec-protobuf/src/test/java/io/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrependerTest.java.
Where is testTinyEncode() defined?
testTinyEncode() is defined in codec-protobuf/src/test/java/io/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrependerTest.java at line 168.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free