Hi Sir,

I have a requirement of reading an image data (BLOB) from a database.
I could successfully read the length of the blob using
sqlite3_column_bytes() but when i try to read the entire blob using
sqlite3_column_blob(), i am getting undesired results.

I am getting the bytes till NULL terminated string is present. In my case,
only 3 bytes of data are being returned by the method.
Is there any way that if we specify the length, the whole blob data is
retrieved irrespective of the NULL bytes .

Thanks and Regards,
Kishor Reddy

Reply via email to