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