int sqlite3_blob_read( sqlite3_blob* blob, void* buff, int bytes, int offset );
blob
A BLOB handle acquired from sqlite3_blob_open()
.
buff
A data buffer. Data is read from the BLOB into the buffer.
bytes
The number of bytes to read from the BLOB into the buffer.
offset
Offset from beginning of BLOB where read should start.
An SQLite return code. Attempting to read from
an expired BLOB handle will return SQLITE_ABORT
.