Перейти к содержанию

Spatium SDK > write

write

suspend fun write(driver: StorageDriver, meta: StorageMeta, data: StorageData)

Write a unit of data into storage, uniquely identified by meta

If such unit of data already exists it is silently overwritten

Parameters

androidJvm

driver StorageDriver implementation
meta StorageMeta composite identifier
data StorageData unit of data to insert
  • SeeAlso: StorageDriver/write(meta,data)