I am using C++/VC++ language as a wrapper for accessing SQLite.
I have tried using memcpy as well but of no use.
On Mar 9, 2015 11:07 PM, "Richard Hipp" wrote:
> On 3/9/15, reddy ykk wrote:
> > Hi Sir,
> >
> > I have a requirement of reading an image data (BLOB) from a database.
> > I could suc
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 terminat
mailinglists.sqlite.org
Betreff: [sqlite] Read Blob Returning bytes till NULL Terminated String
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
On 3/9/2015 1:31 PM, reddy ykk wrote:
> I am getting the bytes till NULL terminated string is present.
How exactly do you determine that? You aren't using strcpy or similar on
those bytes, are you? I suggest you show your code that calls
sqlite3_column_blob, and especially what you do afterwards
On 3/9/15, reddy ykk wrote:
> 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.
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/09/2015 10:31 AM, reddy ykk wrote:
> 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_c
6 matches
Mail list logo