core-ktx / androidx.util / android.util.AtomicFile / writeBytes

writeBytes

fun AtomicFile.writeBytes(array: ByteArray): Unit

Sets the content of this file as an array of bytes.