-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/04/13 04:39, Paolo Bolzoni wrote: > But I noticed that sqlite3_blob_write cannot increase the size of the > pointed open blob. So I ask, there is a way to treat a blob as a stream > so I can write or read values in it with ease?
This is discussed in: http://www.sqlite.org/c3ref/blob_open.html It mentions using zeroblob() so you can create the blob of the length you want and then use blob_open/read/write/close to modify the contents. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlF1gC0ACgkQmOOfHg372QRJRACcCBv5J2DS6Eor3R49CDw2bgEm kIAAn0jyOaxhaAiFD1IemwFF84/kaR41 =jxCT -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users