createPlainProtoDataStore
fun <T : Any> createPlainProtoDataStore(storage: Storage<T>, migrations: List<DataMigration<T>> = emptyList(), corruptionHandler: ReplaceFileCorruptionHandler<T>? = null): DataStore<T>
Plain (unencrypted) typed DataStore over caller-supplied storage (Okio, IndexedDB, etc.).
Readable without a Cipher (unencrypted protobuf on disk / IndexedDB).
fun <T : Any> createPlainProtoDataStore(kSerializer: KSerializer<T>, defaultValue: T, locator: StoreLocator, migrations: List<DataMigration<T>> = emptyList(), corruptionHandler: ReplaceFileCorruptionHandler<T>? = null): DataStore<T>
Canonical plain typed factory. Prefer StoreLocator.Platform from commonMain (Okio on file targets, IndexedDB on JS/Wasm).
fun <T : Any> createPlainProtoDataStore(kSerializer: KSerializer<T>, defaultValue: T, producePath: () -> Path, migrations: List<DataMigration<T>> = emptyList(), corruptionHandler: ReplaceFileCorruptionHandler<T>? = null): DataStore<T>
Okio typed path factory without encryption. Prefer StoreLocator.File from shared code.