
26 Apr
2006
26 Apr
'06
7:55 p.m.
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/