On Jun 5, 2013, at 9:25 PM, Philip Bennefall <phi...@blastbay.com> wrote:
> Doesn't that still create a file, just a temporary one? I need the serialized > content in a char* or similar so I can memcpy it etc, and then feed it back > to SqLite at a later time. I guess I could make a toy vfs that uses a > malloc:ed chunk that pretends to be the disk drive, and backup to/from that > to a regular in-memory database. Thoughts? Yes… write to tmpfs… read the file into byte[]… do what you meant to do… to reload… write byte[] do tmpfs… open db… and be merry… or something along these lines... _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users