RDRand.nextBytes

Generate random data with rdrand instruction.

struct RDRand
@trusted static nothrow @nogc
void
nextBytes
(
ubyte[] buf
)

Parameters

buf ubyte[]

Buffer for random data.

Throws

Throws an Error if your platform does not support the RDRAND instruction.

Meta