I'm not sure this sounds like a SQLite issue but I think File.ReadAllBytes
and File.WriteAllBytes in the System.IO namespace may do what you want.

Cheers,


On 28 April 2014 22:58, Denis Bezeau <den...@hb-studios.com> wrote:

> Hi, I am currently working on a video game using sqlite3,  and I am having
> an issue when saving the database to the platform im on. The save function
> for these platform use either a string or a byte array to save. So I need
> to
> be able to get a byte array of the database, and be able to rebuild the
> database with that byte array, or a string.
>
>
>
> So far I have not found anything that gets me the information I need, so I
> did my own Dump function, that dump all the SQL queries needed to rebuild
> the database from scratch, but it is pretty slow.
>
>
>
> I am working in c# under Unity engine.
>
> Thanks for any help I can get.
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to