newRandomBytes() — netty Function Reference
Architecture documentation for the newRandomBytes() function in CompositeBufferGatheringWriteTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3af08a09_74c8_250d_06c8_d03f30fdaf25["newRandomBytes()"] 4c99b978_4cfc_fe0c_8ea0_4ff9c005d46f["CompositeBufferGatheringWriteTest"] 3af08a09_74c8_250d_06c8_d03f30fdaf25 -->|defined in| 4c99b978_4cfc_fe0c_8ea0_4ff9c005d46f be7fe362_0800_65df_b12b_92be15d85b7a["testCompositeBufferPartialWriteDoesNotCorruptData()"] be7fe362_0800_65df_b12b_92be15d85b7a -->|calls| 3af08a09_74c8_250d_06c8_d03f30fdaf25 style 3af08a09_74c8_250d_06c8_d03f30fdaf25 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/socket/CompositeBufferGatheringWriteTest.java lines 304–308
private static byte[] newRandomBytes(int size, Random r) {
byte[] bytes = new byte[size];
r.nextBytes(bytes);
return bytes;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does newRandomBytes() do?
newRandomBytes() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/CompositeBufferGatheringWriteTest.java.
Where is newRandomBytes() defined?
newRandomBytes() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/CompositeBufferGatheringWriteTest.java at line 304.
What calls newRandomBytes()?
newRandomBytes() is called by 1 function(s): testCompositeBufferPartialWriteDoesNotCorruptData.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free