fixhs-0.1.4: FIX (co)parser

Safe HaskellNone

Data.FIX.Parser

Contents

Synopsis

Introduction

In order to get a Parser FIXMessage FIXSpec you can

import qualified Data.FIX.Parser as FIX ( nextP, messageP )

FIX.nextP >>= FIX.messageP

messageP :: FIXSpec -> ByteString -> Parser (FIXMessage FIXSpec)Source

Given the FIX specification deserialize the FIX message.

nextP :: Parser ByteStringSource

Match the next FIX message (only text) in the stream. The checksum is validated.

nextP' :: Parser ByteStringSource

Match the next FIX message (only text) in the stream. The checksum is NOT validated.