PlatformEntropySource.poll

Poll the entropy source.

class PlatformEntropySource
override @nogc nothrow @safe
Nullable!ubyte
poll
(
out ubyte[maxGather] output
)
out (length) { assert (length.isNull || length.get <= maxGather); }

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.

Meta