Small. Fast. Reliable.
Choose any three.

About Sitemap Documentation Download License News Developers Support

## SQLite C Interface

### Read Data From A BLOB Incrementally

>     int sqlite3_blob_read(sqlite3_blob *, void *z, int n, int iOffset);

This function is used to read data from an open blob-handle into a caller supplied buffer. n bytes of data are copied into buffer z from the open blob, starting at offset iOffset.

If offset iOffset is less than n bytes from the end of the blob, SQLITE_ERROR is returned and no data is read. If n is less than zero SQLITE_ERROR is returned and no data is read.

On success, SQLITE_OK is returned. Otherwise, an SQLite error code or an extended error code is returned.

See also lists of Objects, Constants, and Functions.

This page last modified 2007/12/14 14:37:57 UTC