setEntry

expect fun setEntry(kvdbId: String, key: String, publicMeta: ByteArray, privateMeta: ByteArray, data: ByteArray, version: Long = 0)

Sets a KVDB entry in the given KVDB.

Parameters

kvdbId

ID of the KVDB to set the entry to

key

KVDB entry key

publicMeta

public KVDB entry metadata

privateMeta

private KVDB entry metadata

data

content of the KVDB entry

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.

actual fun setEntry(kvdbId: String, key: String, publicMeta: ByteArray, privateMeta: ByteArray, data: ByteArray, version: Long)

Sets a KVDB entry in the given KVDB.

Parameters

kvdbId

ID of the KVDB to set the entry to

key

KVDB entry key

publicMeta

public KVDB entry metadata

privateMeta

private KVDB entry metadata

data

content of the KVDB entry

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.

actual external fun setEntry(kvdbId: String, key: String, publicMeta: ByteArray, privateMeta: ByteArray, data: ByteArray, version: Long)

Sets a KVDB entry in the given KVDB.

Parameters

kvdbId

ID of the KVDB to set the entry to

key

KVDB entry key

publicMeta

public KVDB entry metadata

privateMeta

private KVDB entry metadata

data

content of the KVDB entry

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.