StoreFileStreamWriter

Manages handle for file writing.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
protected val handle: Long

Reference to file handle.

Link copied to clipboard
Link copied to clipboard
protected val storeApi: StoreApi

Reference to StoreApi.

Functions

Link copied to clipboard
protected fun callChunkProcessed(chunkSize: Long)

Increases the size of current sent/read data by chunkSize and calls ProgressListener.onChunkProcessed.

Link copied to clipboard
fun close(): String

Closes file handle.

Link copied to clipboard

Sets listening for single chunk sent/read.

Link copied to clipboard
fun write(data: ByteArray)

Writes data to Store file.