write

suspend fun write(offset: Long, array: ByteArray): Any?

Writes the content of the array to the file at the given offset.