Re: [sqlite] Help with BLOBs

2008-07-17 Thread Nolan Darilek
Dan wrote: > It's a hexadecimal representation of a blob of data. The literal X'ABCD' > is a blob of length 2 bytes. The first byte is 0xAB, the second is 0xCD. > > OK, that makes sense, but I'm still having issues. Let me explain exactly what I'm doing so hopefully it can help you help me.

Re: [sqlite] Help with BLOBs

2008-07-16 Thread Dan
On Jul 17, 2008, at 10:47 AM, Nolan Darilek wrote: > Hello. I'm trying to add BLOB support to a Ruby interface to > SQLite3 and > am running into an issue. I've created a column of type BLOB and am > writing ruby strings of binary data, but it seems like sqlite might be > null-terminating

[sqlite] Help with BLOBs

2008-07-16 Thread Nolan Darilek
Hello. I'm trying to add BLOB support to a Ruby interface to SQLite3 and am running into an issue. I've created a column of type BLOB and am writing ruby strings of binary data, but it seems like sqlite might be null-terminating these strings. Specifically, when I check the length of the