toMediaSink

actual fun PlatformFile.toMediaSink(): MediaSink(source)

Writes an export to PlatformFile.

The file has to exist and be writable before the export runs, which is what the picker's file saver hands back. A browser has no such thing, so there the result is a download named after the file rather than a write into it.

actual fun PlatformFile.toMediaSink(): MediaSink(source)

Writes an export to PlatformFile.

The file has to exist and be writable before the export runs, which is what the picker's file saver hands back. A browser has no such thing, so there the result is a download named after the file rather than a write into it.

expect fun PlatformFile.toMediaSink(): MediaSink(source)

Writes an export to PlatformFile.

The file has to exist and be writable before the export runs, which is what the picker's file saver hands back. A browser has no such thing, so there the result is a download named after the file rather than a write into it.

actual fun PlatformFile.toMediaSink(): MediaSink(source)

Writes an export to PlatformFile.

The file has to exist and be writable before the export runs, which is what the picker's file saver hands back. A browser has no such thing, so there the result is a download named after the file rather than a write into it.

actual fun PlatformFile.toMediaSink(): MediaSink(source)

Writes an export to PlatformFile.

The file has to exist and be writable before the export runs, which is what the picker's file saver hands back. A browser has no such thing, so there the result is a download named after the file rather than a write into it.