MCPcopy Create free account
hub / github.com/e2wugui/zeze / nextBytes

Method nextBytes

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Random.java:13–17  ·  view source on GitHub ↗
(int size)

Source from the content-addressed store, hash-verified

11 }
12
13 public static byte @NotNull [] nextBytes(int size) {
14 var bytes = new byte[size];
15 getInstance().nextBytes(bytes);
16 return bytes;
17 }
18
19 public static @NotNull Binary nextBinary(int size) {
20 return new Binary(nextBytes(size));

Callers 15

testCompressRateMethod · 0.95
testMethod · 0.95
testEncrypt2Method · 0.95
testCompressMethod · 0.95
nextBinaryMethod · 0.95
testOutputBufferCodecMethod · 0.45
testBenchMethod · 0.45
main2Method · 0.45
mainMethod · 0.45
putMethod · 0.45
runMethod · 0.45
mainMethod · 0.45

Calls 1

getInstanceMethod · 0.95

Tested by 11

testCompressRateMethod · 0.76
testMethod · 0.76
testEncrypt2Method · 0.76
testCompressMethod · 0.76
testOutputBufferCodecMethod · 0.36
testBenchMethod · 0.36
main2Method · 0.36
mainMethod · 0.36
putMethod · 0.36
runMethod · 0.36
mainMethod · 0.36