Hi all, i am trying to use okio multiplatform, i want to copy a file from assets to device storage , in docs there is something like this
val path = "README.md".toPath()
val readmeContent = FileSystem.SYSTEM.read(path) {
readUtf8()
}
val updatedContent = readmeContent.replace("red", "blue")
FileSystem.SYSTEM.write(path) {
writeUtf8(updatedContent)
}
i am not able understand will this code come in android module or common shared module in kmm project , any help would be appreciated thanks in advance.