IoTeX client
src
random
random.h
1
#ifndef IOTEX_RANDOM_H
2
#define IOTEX_RANDOM_H
3
4
#include "stddef.h"
5
#include "stdint.h"
6
7
namespace
iotex
8
{
9
class
Random
10
{
11
public
:
18
virtual
void
fillRandom
(uint8_t* buf,
size_t
size);
19
};
20
}
// namespace iotex
21
22
// Declare global object
23
extern
iotex::Random
randomGenerator;
24
25
#endif
iotex::Random
Definition:
random.h:10
iotex::Random::fillRandom
virtual void fillRandom(uint8_t *buf, size_t size)
Fill a buffer with random bytes.
iotex
Definition:
abi.h:12
Generated by
1.9.2