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