Fills the elements of a specified array of bytes with random numbers.
Namespace: Extreme.Statistics.Random
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Sub NextBytes ( _ buffer As Byte() _ ) |
| C# |
|---|
public override void NextBytes ( byte[] buffer ) |
| C++ |
|---|
public: virtual void NextBytes ( array<unsigned char>^ buffer ) override |
Parameters
- buffer ()
- 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.