deserialize method
Implementation
int deserialize(
PtrSqlite3 db, String zSchema, ffi.Pointer<ffi.Uint8> pData, int szDb, int szBuf, int arg1) {
if (libVersionNumber < 3023000) {
throw dbsql.DatabaseException('API sqlite3_deserialize is not available before 3.23.0');
}
final zSchemaMeta = zSchema._metaNativeUtf8();
final ptrZSchema = zSchemaMeta.ptr;
try {
return _h_sqlite3_deserialize!(db, ptrZSchema, pData, szDb, szBuf, arg1);
} finally {
pkgffi.malloc.free(ptrZSchema);
}
}