iteratee-0.8.8.2: Iteratee-based I/O

Safe HaskellSafe-Infered

Data.Iteratee.Binary

Contents

Description

Monadic Iteratees: incremental input parsers, processors, and transformers

Iteratees for parsing binary data.

Synopsis

Types

data Endian Source

Indicate endian-ness.

Constructors

MSB

Most Significant Byte is first (big-endian)

LSB

Least Significan Byte is first (little-endian)

Endian multi-byte iteratees

endianRead3i :: (Nullable s, ListLike s Word8, Monad m) => Endian -> Iteratee s m Int32Source

Read 3 bytes in an endian manner. If the first bit is set (negative), set the entire first byte so the Int32 will be negative as well.

bytestring specializations

In current versions of iteratee there is no difference between the bytestring specializations and polymorphic functions. They exist for compatibility.