Thanks for your answer but I'm not sure if I understand correctly your answer 
:D.

Copying the data into a StringStream works. y problem lies when I have a 
character 0 in binary data with string (I assume other character could 
reproduce wierd phenomenon like that such as n).

Using toHex / parseHexStr solve the problem but using it on every INSERT and 
SELECT is expensive ; it takes both a lot of time and memory so it's far from 
ideal.

Is there a way to handle binary data that would avoid copying binary data into 
a string and then converting it into hexadecimal ?

Reply via email to