Random.hpp

This File On Github
Ask A Question

API: latest
module: oatpp
#include "oatpp/core/utils/Random.hpp"

Random

Utility class for random values.

namespace oatpp { namespace utils { namespace random { 
  class Random {}
}}}

Methods

Return Type Name Summary
void randomBytes Fill in buffer with random bytes [0..255].

Random::randomBytes

Fill in buffer with random bytes [0..255].

  • @param buffer - pointer to buffer.
  • @param bufferSize - size of the buffer.

static void randomBytes(p_char8 buffer, v_int32 bufferSize)