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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe