DevRandom

Generates uniformly distributed random numbers in the interval [T.min, T.max] using /dev/random as the source of randomness.

Caution should be taken when using this as /dev/random is a blocking device.

version(Posix)
template DevRandom (
T
) if (
isIntegral!T &&
isUnsigned!T
) {}

Members

Aliases

DevRandom
alias DevRandom = RandomFileStream!("/dev/random", T)
Undocumented in source.

Meta