On Thu, Mar 28, 2013 at 11:33 AM, Francesco Montorsi <
francesco.monto...@embit.it> wrote:

> The docs only say:
>     BLOB literals are string literals containing hexadecimal data and
> preceded by a single "x" or "X" character
>

The encoding is not (or shouldn't be!) done by the client, but by the
sqlite internals, so there is generally no need to concern oneself with the
number of bytes in the blob's encoded representation. Each byte of input to
sqlite3_bind_blob() is internally converted to two hex bytes, but clients
still work with normal bytes, not the encoded form.

http://www.sqlite.org/capi3ref.html#sqlite3_bind_blob

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to