writeStream
fun writeStream(inboxHandle: Long, source: Source, streamController: StoreFileStream.Controller? = null)
Writes data from an Source to an Inbox file.
Parameters
inboxHandle
the handle of an Inbox to write to
source
the Source to read data from
Throws
when method encounters an exception while executing InboxApi.writeToFile
when method encounters an unknown exception while executing InboxApi.writeToFile
when .inboxApi is closed
IOException
when Source.read thrown exception or this
is closed