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