Quoth Pierre Krieger <pierre.krieger1...@gmail.com>, on 2010-10-03 18:31:41 +0200: > But the main reason why I would use streams is for other things like > reading data from a socket or decrypting a file on-the-fly for example > (these are just ideas)
That's going to be problematic, because almost all of SQLite's usage of underlying I/O is block-style, not stream-style, more akin to accessing elements in a persistent byte array (with other practical matters added on, of course) than to reading and writing streams. You'd probably be better off just writing temporary files in both of the cases you mention, unless (in the latter case) you actually have per-block (or similar) crypto going on rather than purely streaming. (You do use seekp, but some underlying streams might not support it.) ---> Drake Wilson _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users