-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Binary processing extensions to Attoparsec.
--   
--   This package adds a collection of helper functions to make the task
--   dealing with binary data of varying endianness from within an
--   Attoparsec parser easier.
@package attoparsec-binary
@version 0.2


-- | Binary processing extensions to Attoparsec.
module Data.Attoparsec.Binary

-- | Match any 16-bit big-endian word.
anyWord16be :: Parser Word16

-- | Match any 16-bit little-endian word.
anyWord16le :: Parser Word16

-- | Match any 32-bit big-endian word.
anyWord32be :: Parser Word32

-- | Match any 32-bit little-endian word.
anyWord32le :: Parser Word32

-- | Match any 64-bit big-endian word.
anyWord64be :: Parser Word64

-- | Match any 64-bit little-endian word.
anyWord64le :: Parser Word64

-- | Match a specific 16-bit big-endian word.
word16be :: Word16 -> Parser Word16

-- | Match a specific 16-bit little-endian word.
word16le :: Word16 -> Parser Word16

-- | Match a specific 32-bit big-endian word.
word32be :: Word32 -> Parser Word32

-- | Match a specific 32-bit little-endian word.
word32le :: Word32 -> Parser Word32

-- | Match a specific 64-bit big-endian word.
word64be :: Word64 -> Parser Word64

-- | Match a specific 64-bit little-endian word.
word64le :: Word64 -> Parser Word64
