nn::math::MersenneTwister::GenerateRandomBytes Member Function

Syntax

#include <nn/math.h>

void GenerateRandomBytes(
     void * p,
     size_t size
);

Parameters

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.

Return Values

None.

Description

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.

Revision History

2012/05/11
Initial version.

CONFIDENTIAL