toUShortArray

Common
JVM
JS
Native
1.3
@ExperimentalUnsignedTypes fun Array<out UShort>.toUShortArray(): UShortArray
(source)

Returns an array of UShort containing all of the elements of this generic array.

Common
JVM
JS
Native
1.3
@ExperimentalUnsignedTypes fun ShortArray.toUShortArray(): UShortArray
(source)

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

Common
JVM
JS
Native
1.3
@ExperimentalUnsignedTypes fun Collection<UShort>.toUShortArray(): UShortArray
(source)

Returns an array of UShort containing all of the elements of this collection.