System::Random::NextBytes method

Random::NextBytes method

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

virtual void System::Random::NextBytes(const ArrayPtr<uint8_t> &buffer)
ParameterTypeDescription
bufferconst ArrayPtr<uint8_t>&The array to fill

See Also