kotlin-stdlib / kotlin.native / setUShortAt setUShortAt Native 1.3 @ExperimentalNativeApi @ExperimentalUnsignedTypes fun ByteArray.setUShortAt( index: Int, value: UShort)(source) Sets UShort out of the ByteArray byte buffer at specified index index Exceptions IndexOutOfBoundsException - if index is outside of array boundaries.