Random.nextBytes

void nextBytes(ubyte[] buffer)

Fills the provided buffer with random bytes.

Parameters

bufferThe buffer to fill.