On 5/21/2015 10:17 PM, reddy ykk wrote: > 2. The image data has '00' after 4 bytes. So, only first 4 bytes are being > written to Database as blob data.
sqlite_bind_blob takes pointer to data buffer, as well as the size of that buffer. It doesn't treat zero bytes in any way special. It will write to the database exactly as many bytes as you tell it to. -- Igor Tandetnik