Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RandomGenerator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace webrtc {
6
8public:
9 // virtual functions
10 // NOLINTBEGIN
11 virtual ~RandomGenerator() = default;
12
13 virtual bool Init(void const* seed, uint64 len);
14
15 virtual bool Generate(void* buf, uint64 len) = 0;
16 // NOLINTEND
17
18public:
19 // virtual function thunks
20 // NOLINTBEGIN
21 MCNAPI bool $Init(void const* seed, uint64 len);
22
23
24 // NOLINTEND
25};
26
27} // namespace webrtc
Definition RandomGenerator.h:7
MCAPI bool $Init(void const *seed, uint64 len)