Examples of attoparsec in parsing binary file formats?

Posted by me2 on Stack Overflow See other posts from Stack Overflow or by me2
Published on 2010-03-13T05:29:11Z Indexed on 2010/03/13 5:35 UTC
Read the original article Hit count: 350

Filed under:
|

Previously attoparsec was suggested to me for parsing complex binary file formats. While I can find examples of attoparsec parsing HTTP, which is essentially text based, I cannot find an example parsing actual binary, for example, a TCP packet, or image file, or mp3. Can someone post some code or pointer to some code which does this using attoparsec?

© Stack Overflow or respective owner

Related posts about haskell

Related posts about binary