StorageCodec

class StorageCodec<T : @Serializable Any>(key: String, format: StringFormat, serializer: KSerializer<T>, storage: Storage) : Codec<T>

Constructors

Link copied to clipboard
constructor(key: String, format: StringFormat, serializer: KSerializer<T>, storage: Storage)

Functions

Link copied to clipboard
open suspend override fun decode(): T?
Link copied to clipboard
open suspend override fun encode(value: T?)