Excerpts from Adam Chlipala's message of Thu Dec 16 16:33:28 +0100 2010:
> > Can a blob be converted to a string?
Have a look at my uw-process library. It contains an example using C ffi
converting a blob into a string. Don't miss the comments which tell you
that #"\0" is converted to "\n" because C strings can't represent them.

So it is possible. But you should be aware of the 0 byte constraint.

Marc Weber

_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to