@ExperimentalUnsignedTypes fun Array<out UByte>.toUByteArray(): UByteArray
Returns an array of UByte containing all of the elements of this generic array.
@ExperimentalUnsignedTypes fun ByteArray.toUByteArray(): UByteArray
Returns an array of type UByteArray, which is a copy of this array where each element is an unsigned reinterpretation of the corresponding element of this array.
@ExperimentalUnsignedTypes fun Collection<UByte>.toUByteArray(): UByteArray
Returns an array of UByte containing all of the elements of this collection.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/to-u-byte-array.html