
10 Jan
2011
10 Jan
'11
5:30 p.m.
John Lato schrieb:
You could use my "word24" package[1] (GHC only) to provide non-aligned 24-bit word and int types with Storable instances. You should be able to write a binary instance (or whatever blaze-builder needs) fairly simply from this. Little-endian only ATM, but BE could be added if necessary.
Good to know that! However, I think for the original poster the binary package is perfect. This way he does not worry about unsafe peeking and poking around in memory.