Function EntropySource.poll

Poll the entropy source.

Option!(ubyte) poll (
  out ubyte[128] output
) @nogc;

Parameters

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

Returns

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

Postcondition

Returned length is less than or equal to output length.