Click or drag to resize

IRandomNextBytes 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: 2024-04-29 08:29 GMT+10
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