deserialize
abstract fun deserialize(serializedDatabase: Buffer, database: String? = null, databaseSize: Long = serializedDatabase.byteSize, bufferSize: Long = databaseSize, flags: SqliteDeserializeFlag? = null)(source)
Disconnects from database and then reopens database as an in-memory database based on the serialization contained in serializedDatabase. The serializedDatabase is databaseSize bytes in size. bufferSize is the size of the buffer serializedDatabase, which might be larger than databaseSize. If bufferSize is larger than databaseSize, and the SqliteDeserializeFlag.READONLY bit is not set in flags, then SQLite is permitted to add content to the in-memory database as long as the total size does not exceed bufferSize bytes.
Throws
if the operation fails.