write

fun write(data: ByteArray)

Writes data to Store file.

Parameters

data

data to write (the recommended size of data chunk is StoreFileStream.OPTIMAL_SEND_SIZE)

Throws

when method encounters an exception

when method encounters an unknown exception

when .storeApi is closed

IOException

when this is closed