xtd
0.2.0
Loading...
Searching...
No Matches
◆
next_bytes()
[2/2]
virtual void xtd::random::next_bytes
(
xtd::byte
*
buffer
,
size_t
buffer_size
)
const
virtual
Fills the elements of a specified array of bytes with random numbers.
Parameters
buffer
An array of bytes to contain random numbers.
Exceptions
argument_null_exception
buffer is null.
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 std::numeric_limits<xtd::byte>::max().
xtd
random
Generated on Mon Sep 9 2024 23:25:11 for xtd by
Gammasoft
. All rights reserved.