I have an in-memory SQLite database which I want to serialize and send to another computer. Is this possible without writing the database out to disk and reading the file from there?
Starting with SQLite 3.36 by default (or SQLite 3.23 with the SQLITE_ENABLE_DESERIALIZE
compile-time option) sqlite3_serialize()
can be used to serialize a database to a contiguous chunk of memory.