[mercury-users] string_stream impl, re: redirecting output to streams
Michael Day
mikeday at yeslogic.com
Thu Feb 16 21:34:36 AEDT 2006
> On this note I feel there is a big need for binary string support
> (strings with null bytes). It's difficult to do meaningful binary string
> buffer operations with the current (null-terminated) string library. I
> hacked up a quick and dirty binary string library which uses strings
> with an explicit length, but I think the right thing to do is to change
> the standard string library to operate this way. Any objections, in
> principle?
Personally I like the ease of interoperability with C-style strings, that
is a very strong point in favour when interfacing with foreign code, and
we have lots of code that takes advantage of that.
Cheers,
Michael
--
Print XML with Prince!
http://www.princexml.com
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list