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