asUByteArray

inline fun ByteArray.asUByteArray(): UByteArray

Returns an array of type UByteArray, which is a view of this array where each element is an unsigned reinterpretation of the corresponding element of this array.

Since Kotlin

1.3