nextUInt

Unsigned full-width bits from this source.




fun Random.nextUInt(from: UInt, until: UInt): UInt(source)

Uniform value in [from, until), using rejection before modulo reduction.


Uniform value in the inclusive range, including the full UInt domain.