logo       

Re: Data.ByteString candidate 3: msg#00174

lang.haskell.libraries

Subject: Re: Data.ByteString candidate 3

Donald Bruce Stewart wrote:

Ok, here's what I've done:
http://www.cse.unsw.edu.au/~dons/fps/new/

The code has been partioned into:
Data.ByteString a Word8 only layer. All functions are in terms of
Word8

Do the file-handling Word8 functions always work correctly, or do they do some kind of round-trip Char conversion? We've needed Word8 file access, so this would be very helpful. For instance:

writeFile "myfile" (pack [0..255])

This should always write exactly the bytes 0 to 255, with no text-related weirdness such as charset remapping or newline conversion.

--
Ashley Yakeley, Seattle WA
WWEWDD? http://www.cs.utexas.edu/users/EWD/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise