
29 Jan
2007
29 Jan
'07
7:35 p.m.
Hi Conrad,
If the data header stores the alignment/size/endianness, then there's no reason for the data to be unportable. The normal get* instances (not get*host) could suffice for reading.
That requires the stream to have a header. Which means that any arbitrary slice within the ByteString is not equal - the first one contains essential information which isn't available anywhere else. It seems like a lot of complexity, defining multiple parameterised file types, when the simple case is probably neater and cheaper in terms of both runtime and developer time. Thanks Neil