nextBits

suspend fun Random.nextBits(bitCount: Int): Int(source)

Generates random bits.

See also

Standard library.

Prepared value equivalent.