
4 Jul
2007
4 Jul
'07
1:25 p.m.
On Wed, Jul 04, 2007 at 02:50:42PM +0100, Philip Armstrong wrote:
The Data.Binary comes with one tool to derive these. The DrIFT preprocessor also can, as can Stefan O'Rear's SYB deriver.
I just write them by hand, or use the tool that comes with the lib.
More docs here,
http://hackage.haskell.org/packages/archive/binary/0.3/doc/html/Data-Binary....
This doesn't seem to deal with endianness. Am I missing something?
The Data.Binary high level interface standardizes on 64-bit big endian. The low level interface allows you to choose it yourself. Stefan