write

abstract suspend fun write(key: String, bytes: ByteArray)

Stores bytes under key, replacing what was there. Failure is not an error worth raising.