RanLux24.NextBytes Method

Definition

Namespace: Extreme.Mathematics.Random
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

NextBytes(Byte[]) Fills the elements of a specified array of bytes with random numbers.
NextBytes(Span<Byte>)Fills the elements of a specified span of bytes with random numbers.

NextBytes(Byte[])

Fills the elements of a specified array of bytes with random numbers.
C#
public override void NextBytes(
	byte[] buffer
)

Parameters

buffer  Byte[]
An array of bytes to contain random numbers.

Remarks

Each element of the array of bytes is set to a random number greater than or equal to zero, and less than or equal to MaxValue.

See Also