EntropySource.poll

Poll the entropy source.

class EntropySource
@nogc
Nullable!ubyte
poll
(
out ubyte[maxGather] output
)

Parameters

output ubyte[maxGather]

Buffer to save the generate random sequence (the method will to fill the buffer).

Return Value

Type: Nullable!ubyte

Number of bytes that were copied to the output or nothing on error.

Postcondition: Returned length is less than or equal to output length.

Meta