hugeData() — netty Function Reference
Architecture documentation for the hugeData() function in ZstdEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 078b8d9c_d979_d4c4_b6a4_12a7272114e2["hugeData()"] c729df56_e52a_35d9_ae50_4104aa9af83d["ZstdEncoderTest"] 078b8d9c_d979_d4c4_b6a4_12a7272114e2 -->|defined in| c729df56_e52a_35d9_ae50_4104aa9af83d style 078b8d9c_d979_d4c4_b6a4_12a7272114e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/ZstdEncoderTest.java lines 50–56
public static ByteBuf[] hugeData() {
final byte[] bytesHuge = new byte[36 * 1024 * 1024];
ByteBuf heap = Unpooled.wrappedBuffer(bytesHuge);
ByteBuf direct = Unpooled.directBuffer(bytesHuge.length);
direct.writeBytes(bytesHuge);
return new ByteBuf[] {heap, direct};
}
Domain
Subdomains
Source
Frequently Asked Questions
What does hugeData() do?
hugeData() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ZstdEncoderTest.java.
Where is hugeData() defined?
hugeData() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ZstdEncoderTest.java at line 50.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free