#include <Random_Windows.h>
Public Member Functions | |
bool | GetRandom (void *data, size_t dataSize) |
Fills a buffer with random data, if true is returned. Otherwise the random generator fails to generate random numbers. | |
template<class T > | |
bool | GetRandom (T &value) |
Template helper for value types GetRandom. | |
Provides a better yet more computationally costly random implementation. To be used in less frequent scenarios, i.e. to get a good seed.