RandomAccessStorage
Android random-access file: identical to the JVM actual (java.io is available on Android).
Random-access file handle. This is the one thing a torrent client needs from the filesystem that has no common-stdlib equivalent: reading and writing at an arbitrary byte offset. kotlinx-io's FileSystem is stream-oriented, so this is a small platform expect/actual (RandomAccessFile on JVM/Android, POSIX fseeko/fread/fwrite on Apple).
libtorrent fills the same seam with pread and pwrite (mmap_storage.cpp).
Apple (iOS/macOS) random-access file via POSIX stdio with positional seeks.
JVM/desktop random-access file via RandomAccessFile (seek + positional read/write).