
29 May
2008
29 May
'08
1:07 p.m.
Tom Harper wrote:
I'm trying to implement some file I/O where I can read in a file to an array, but do so without having to know how much space I will need.
Why not just read it into a lazy ByteString? Are you looking to use an array with elements of a different type? You could then convert it to a strict ByteString.