ExtendedRandom.NextBytes Method

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

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[]
The array to be filled with random numbers.

Exceptions

ArgumentNullExceptionbuffer is null.

See Also