Click or drag to resize

IRandom.NextBytes Method

Fills the elements of a specified array of bytes with random numbers.

Namespace: Orthogonal.Common.Basic.PRNG
Assembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 2025-03-15 14:42 GMT+11
Syntax
C#
void NextBytes(
	byte[] bytes
)

Parameters

bytes  Byte[]
The array to be filled with random numbers.
Remarks
This base class implementation is not very efficient, so derived classes should override this method with a superior implementation when possible.
See Also