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