
8 Jan
2003
8 Jan
'03
9:32 a.m.
There would be a similar problem with hPutArray and hGetArray if they were used for reading writing arrays of words other than Word8 (using castIOUArray perhaps?)
hPutArray and hGetArray do indeed generate non-portable files, and they should be documented as such.
Oops, I lied. hPutArray and hGetArray work on arrays of Word8 only, so in order to get non-portable results you need to use castIOUArray, which is already documented as having undefined behaviour. Cheers, Simon