[REBOL] Re: How to send big string to library and back?
From: al:bri:xtra at: 16-Apr-2001 21:45
pekr, is the camera image binary data or is it encoded into characters?
I get the impression that it's binary. So it shouldn't be passed as a string
to the C library. Better would be as a unsigned array as I described
It's possible to append a null value to Rebol strings like:
>> s: "123"
>> append s "^(00)"
so as to fool the C library that this is a proper C string. Just don't make
it larger in the C library!
ICQ: 26227169 http://members.nbci.com/AndrewMartin/