[Haskell-cafe] Data.Binary and little endian encoding
dons at galois.com
Thu May 14 23:40:17 EDT 2009
> I actually need little endian encoding... wondering if anyone else hit this
> with Data.Binary. (because I'm working with Bell Lab's 9P protocol which does
> encode things on the network in little-endian order).
> Anyone got some "tricks" for this?
There are big, little and host-endian primitives in the Get/Put monads.
You can use these to build encoders directly.
More information about the Haskell-Cafe