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