updateFile

expect fun updateFile(fileId: String, publicMeta: ByteArray, privateMeta: ByteArray, size: Long): Long?

Updates an existing file in a Store.

Return

Handle to write file data

Parameters

fileId

ID of the file to update

publicMeta

public file metadata

privateMeta

private file metadata

size

size of the file

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual fun updateFile(fileId: String, publicMeta: ByteArray, privateMeta: ByteArray, size: Long): Long?

Updates an existing file in a Store.

Return

Handle to write file data

Parameters

fileId

ID of the file to update

publicMeta

public file metadata

privateMeta

private file metadata

size

size of the file

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual external fun updateFile(fileId: String, publicMeta: ByteArray, privateMeta: ByteArray, size: Long): Long?

Updates an existing file in a Store.

Return

Handle to write file data

Parameters

fileId

ID of the file to update

publicMeta

public file metadata

privateMeta

private file metadata

size

size of the file

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception