[Haskell-cafe] ANNOUNCE: binary: high performance, pure binary serialisation

Chris Kuklewicz haskell at list.mightyreason.com
Fri Jan 26 18:27:55 EST 2007

Donald Bruce Stewart wrote:
> lemming:
>> On Fri, 26 Jan 2007, Donald Bruce Stewart wrote:
>>>         Binary: high performance, pure binary serialisation for Haskell
>>>      ---------------------------------------------------------------------- 
>>> The Binary Strike Team is pleased to announce the release of a new,
>>> pure, efficient binary serialisation library for Haskell, now available
>>> from Hackage:
>>>  tarball:    http://hackage.haskell.org/cgi-bin/hackage-scripts/package/binary/0.2
>>>  darcs:      darcs get http://darcs.haskell.org/binary
>>>  haddocks:   http://www.cse.unsw.edu.au/~dons/binary/Data-Binary.html
>> I want to write out data in the machine's endianess, because that data 
>> will be post-processed by sox, which reads data in the machine's 
>> endianess. Is this also planned for the package?
> The underlying Get and Put monads support explicit endian writes and
> reads, which you can add to your instances explicitly:
>     http://www.cse.unsw.edu.au/~dons/binary/Data-Binary-Get.html#5
>     http://www.cse.unsw.edu.au/~dons/binary/Data-Binary-Put.html#5
> So you can do that now. 
> -- Don

The documentation has a small organization bug:


The "Big-endian reads" section has both big endian and little endian functions.
Same for the "Little-endian reads" section. The page for Put is okay.


More information about the Haskell-Cafe mailing list