
19 Sep
2014
19 Sep
'14
2:08 a.m.
Another question is how to pass a raw buffer (binary content) from Haskell to C functions? Assume we are using ByteString as the content container in Haskell. Is there a way to convert ByteString to C void * ? On Friday, September 19, 2014 2:02:29 PM UTC+9:30, ye yan wrote:
I have been play around with Haskell FFI. My question is for ByteString (Strict) is there a trailing null append to it when pass to it C functions?