kvision / pl.treksoft.kvision.cordova / write

write

suspend fun FileEntry.write(data: <ERROR CLASS>): Result<FileEntry, FileException>

Write file content from a Blob.

Parameters

data - a data Blob to be written.

suspend fun FileEntry.write(data: String): Result<FileEntry, FileException>

Write file content from a plain string.

Parameters

data - a data string to be written.