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