Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ NextBytes() [1/2]

override void System.Random.ThreadSafeRandom.NextBytes ( byte[] buffer)
inlinevirtual

Reimplemented from System.Random.

Definition at line 84 of file Random.cs.

85 {
86 if (buffer == null)
87 {
88 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.buffer);
89 }
90 LocalRandom.NextBytes(buffer);
91 }
static XoshiroImpl LocalRandom
Definition Random.cs:15

References System.buffer, System.Random.ThreadSafeRandom.LocalRandom, and System.ThrowHelper.ThrowArgumentNullException().