setShortAt

external fun ByteArray.setShortAt(index: Int, value: Short)(source)

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

Since Kotlin

1.3

Throws

if index is outside of array boundaries.