See https://www.sqlite.org/c3ref/serialize.html
(You might have to compile a custom version of sqlite if the one you're using wasn't built with support for serialization enabled) On Thu, Feb 21, 2019, 10:58 PM heribert <[email protected]> wrote: > Is there any way to backup a memory database directly to a memory stream? > > In my case i have to backup a small memory database directly into a byte > array, without using any os based temp file. > > _______________________________________________ > sqlite-users mailing list > [email protected] > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

