Hey, guys. What’s the suggested way to access (rea...
# multiplatform
u
Hey, guys. What’s the suggested way to access (read/write) files in K/M? I thought
kotlin-io
was created for it (not for, but including it), but now i’m a bit confused. Let’s say i need only jvm, and linux/mac targets support only
d
At the moment, it's just `expect`/`actual`. You could always make your own
class FileInput : kotlinx.io.core.Input
.
u
@Dominaezzz thanks!
However it’s a bit strange there is no official support. I do understand the platforms are very different, but i believe there can be official lib with limited support of platforms..
d
It's a work in progress. #kotlinx-files
u
thanks for the link