ByteBuf() — netty Function Reference
Architecture documentation for the ByteBuf() function in TestsuitePermutation.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 20f36e0a_7ed9_cead_bc92_73544e06f036["ByteBuf()"] 00b9cf8d_ddd6_796f_f38d_a03c9c52dc20["TestsuitePermutation"] 20f36e0a_7ed9_cead_bc92_73544e06f036 -->|defined in| 00b9cf8d_ddd6_796f_f38d_a03c9c52dc20 style 20f36e0a_7ed9_cead_bc92_73544e06f036 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/TestsuitePermutation.java lines 52–57
public static ByteBuf randomBufferType(ByteBufAllocator allocator, byte[] data, int offset, int length) {
if (ThreadLocalRandom.current().nextBoolean()) {
return allocator.directBuffer().writeBytes(data, offset, length);
}
return Unpooled.wrappedBuffer(data, offset, length);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/TestsuitePermutation.java.
Where is ByteBuf() defined?
ByteBuf() is defined in testsuite/src/main/java/io/netty/testsuite/transport/TestsuitePermutation.java at line 52.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free