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