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