Package-level declarations
Types
A repository for storing serializable objects in DataStore Preferences.
Configuration class for DataStoreStorage. It extends SecretKeyEncryptorConfig to inherit encryption settings.
A singleton factory for managing multiple DataStoreStorage instances. Each Storage is identified by a unique filename.
A storage class that delegates its operations to a repository. It can optionally cache the stored item in memory.
Functions
Creates a new Storage instance for storing serializable objects in DataStore Preferences.
Creates a new Storage instance for storing serializable objects in DataStore.
Creates a new Serializer instance for a given type T. The object will be serialized using kotlinx.serialization to/from JSON.
Creates an encrypted serializer for the given type.
Creates a new Storage instance for storing objects in memory.