[Haskell-cafe] Re: Data.Binary and little endian encoding

John Van Enk vanenkj at gmail.com
Thu May 28 12:17:07 EDT 2009


>
>
> Fair enough.   I am just new to the interface, wondering if I should
> try matching responses by pulling apart via Get, or the bit syntax
> package.
>
>

I'm assming you have some 'data Foo = ...'? If this is the case, you're
probably okay writing an instance of Binary for Foo and using encode/decode.
That's all I've had to do and had superb performance.

/jve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090528/9f035a69/attachment.html


More information about the Haskell-Cafe mailing list