setUShortAt

@ExperimentalUnsignedTypes
external fun ByteArray.setUShortAt(index: Int, value: UShort)(source)

Sets UShort out of the ByteArray byte buffer at specified index index

Since Kotlin

1.3

Throws

if index is outside of array boundaries.