WasiFileSystem
class WasiFileSystem
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun appendText(path: String, text: String, charsetName: String = DEFAULT_CHARSET, createParentDirectories: Boolean = true)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun WasiFileSystem.readWitByteStream(path: String, wasi: WasiPreview3, chunkSize: Int = WasiFileSystem.DEFAULT_CHUNK_SIZE): WitStream<UByte>
Link copied to clipboard
suspend fun writeByteChunks(path: String, chunks: Flow<ByteArray>, append: Boolean = false, createParentDirectories: Boolean = true)
Link copied to clipboard
Link copied to clipboard
suspend fun WasiFileSystem.writeWitByteStream(path: String, stream: WitStream<UByte>, wasi: WasiPreview3, createParentDirectories: Boolean = true, append: Boolean = false)