deserialize

abstract fun deserialize(data: ByteArray, schema: String = MAIN_SCHEMA)

De-serialize Database

De-serialize an array of raw bytes previously emitted via serialize, loading the resulting data into the current SQLite database; the schema parameter is used to specify the schema to de-serialize (if none is provided, the main schema is used).

Return

De-serialized database.

Parameters

data

Serialized database.

schema

Schema to de-serialize.