RDRand.nextBytes

Generate random data with rdrand instruction.

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

Parameters

buf
Type: ubyte[]

Buffer for random data.

Throws

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

Meta