Docs: 0.6.0
0.6.0 · Released
Nightly · Development
Released ·
11bb72b8
Compukters
Toggle table of contents
0.6.0
Compukters
Target filter
Compukters
Switch theme
Search in API
Skip to content
Compukters
Compukters Core
/
kotlin.random
/
nextUBytes
next
UBytes
fun
Random
.
nextUBytes
(
array
:
UByteArray
)
:
UByteArray
(
source
)
fun
Random
.
nextUBytes
(
size
:
Int
)
:
UByteArray
(
source
)
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.