Write Data Into A BLOB Incrementally
Write Data Into A BLOB Incrementally
int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
This function is used to write data into an open BLOB handle from a caller-supplied buffer- N bytes of data are copied from the buffer Z into the open BLOB, starting at offset iOffset-
On success, sqlite3_blob_write() returns SQLITE_OK- Otherwise, an error code or an extended error code is returned. Unless SQLITE_MISUSE is returned, this function sets the database connection error code and message accessible via sqlite3_errcode() and sqlite3_errmsg() and related functions.
If the BLOB handle passed as the first argument was not opened for writing