LittleEndianDirectByteBufTest Class — netty Architecture
Architecture documentation for the LittleEndianDirectByteBufTest class in LittleEndianDirectByteBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6c903744_53f7_c03f_38ef_ca391667739f["LittleEndianDirectByteBufTest"] 9613b64d_fc12_f505_47ca_8b9e4cf17623["LittleEndianDirectByteBufTest.java"] 6c903744_53f7_c03f_38ef_ca391667739f -->|defined in| 9613b64d_fc12_f505_47ca_8b9e4cf17623 3e3d2b66_9790_08e5_cf9b_d61cf70d724e["ByteBuf()"] 6c903744_53f7_c03f_38ef_ca391667739f -->|method| 3e3d2b66_9790_08e5_cf9b_d61cf70d724e
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/LittleEndianDirectByteBufTest.java lines 26–39
public class LittleEndianDirectByteBufTest extends AbstractByteBufTest {
@Override
protected ByteBuf newBuffer(int length, int maxCapacity) {
ByteBuf buffer = newDirectBuffer(length, maxCapacity).order(ByteOrder.LITTLE_ENDIAN);
assertSame(ByteOrder.LITTLE_ENDIAN, buffer.order());
assertEquals(0, buffer.writerIndex());
return buffer;
}
protected ByteBuf newDirectBuffer(int length, int maxCapacity) {
return new UnpooledDirectByteBuf(UnpooledByteBufAllocator.DEFAULT, length, maxCapacity);
}
}
Source
Frequently Asked Questions
What is the LittleEndianDirectByteBufTest class?
LittleEndianDirectByteBufTest is a class in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/LittleEndianDirectByteBufTest.java.
Where is LittleEndianDirectByteBufTest defined?
LittleEndianDirectByteBufTest is defined in buffer/src/test/java/io/netty/buffer/LittleEndianDirectByteBufTest.java at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free