nn::math::MersenneTwister::GenerateRandomBytes Member Function#include <nn/math.h>
void GenerateRandomBytes(
void * p,
size_t size
);
| Name | Description | |
|---|---|---|
| in | p |
Specifies a buffer storing a series of random bytes. |
| in | size |
Specifies the byte size of the random byte series stored in p. |
Generates a series of random bytes.
Generates a series of random bytes with size bytes in size, and stores it in the buffer specified by p.
CONFIDENTIAL