KFile Output Stream
A KFileOutputStream
is an asynchronous file output stream that supports coroutine-based non-blocking I/O operations.
This class is equivalent to the java.io.FileOutputStream.
Parameters
The path to the file to write.
The context to use for I/O operations.
Functions
Writes b.remaining()
bytes from the specified byte array to this output stream.
Writes b.length
bytes from the specified byte array to this output stream. The general contract for write(b)
is that it should have exactly the same effect as the call write(b, 0, b.length)
.
Writes the specified byte to this file output stream. Implements the write method of OutputStream.
Writes len bytes from the specified byte array starting at offset off to this file output stream. Implements the write method of OutputStream.