mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add Random::nextBlob
This commit is contained in:
@@ -89,6 +89,10 @@ public:
|
||||
*/
|
||||
bool nextBool() noexcept;
|
||||
|
||||
/** Fills a piece of memory with random data.
|
||||
*/
|
||||
void nextBlob (void* buffer, size_t bytes);
|
||||
|
||||
/** Returns a BigInteger containing a random number.
|
||||
|
||||
@returns a random value in the range 0 to (maximumValue - 1).
|
||||
|
||||
Reference in New Issue
Block a user