store

abstract fun store(key: String, data: ByteArray): Boolean

Store array of bytes in the storage directory based on the key.

Parameters

key

the key of the data

data

the data to store


abstract fun store(key: String, data: String): Boolean

Store a string in the storage directory based on the key.

Parameters

key

the key of the data

data

the string to store