Re: [sqlite] sqlite3_blob_read problem with buffer in Objective C

2009-04-14 Thread Lawrence Gold
On Apr 14, 2009, at 12:48 PM, Richard Dauben wrote: > After successfully reading from a blob sequentially to a buffer in > Objective C > the buffer seems to be altered such that it can no longer be > accessed from > memory Is there some kind of special buffer type that I should > be usi

Re: [sqlite] sqlite3_blob_read problem with buffer in Objective C

2009-04-14 Thread Igor Tandetnik
Richard Dauben wrote: > After successfully reading from a blob sequentially to a buffer in > Objective C the buffer seems to be altered such that it can no longer > be accessed from memory Is there some kind of special buffer type > that I should be using? Here is sample of my code: > > int su

[sqlite] sqlite3_blob_read problem with buffer in Objective C

2009-04-14 Thread Richard Dauben
After successfully reading from a blob sequentially to a buffer in Objective C the buffer seems to be altered such that it can no longer be accessed from memory  Is there some kind of special buffer type that I should be using? Here is sample of my code:   int success; NSData *inBuffer; succes