nextUBytes



fun Random.nextUBytes(array: UByteArray, fromIndex: Int, toIndex: Int): UByteArray(source)

Fills exactly [fromIndex, toIndex); invalid ranges do not consume state or modify the array.