[Haskell-cafe] data.binary get reading beyond end of input bytestring?

Bryan O'Sullivan bos at serpentine.com
Thu Jul 29 13:33:47 EDT 2010


On Wed, Jul 28, 2010 at 8:38 PM, Max Cantor <mxcantor at gmail.com> wrote:

> I have a similar issue, I think.  The problem with attoparsec is it only
> covers the unmarshalling side, writing data to disk still requires manually
> marshalling values into ByteStrings.  Data.Binary with Data.Derive provide a
> clean, proven (encode . decode == id) way of doing this.
>
> If there's a way to accomplish this with attoparsec, I'd love to know.


Sorry, attoparsec is just a parsing library :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100729/aaa675e7/attachment.html


More information about the Haskell-Cafe mailing list