describe-0.4.0.0: Combinators for describing binary data structures

Data.Serialize.Describe.Combinators.LE

Description

Little endian combinators.

All combinators take a function that takes the structure leing described (a) and produces the specified data type from it. Most of the time, this will le one of the structure's fields, which are all functions from the structure to the field type.

# Documentation

newtype LE a Source #

Constructors

 LE FieldsunwrapLE :: a
Instances

w16 :: Integral i => (s -> i) -> Descriptor s i Source #

w32 :: Integral i => (s -> i) -> Descriptor s i Source #

w64 :: Integral i => (s -> i) -> Descriptor s i Source #

i16 :: Integral i => (s -> i) -> Descriptor s i Source #

i32 :: Integral i => (s -> i) -> Descriptor s i Source #

i64 :: Integral i => (s -> i) -> Descriptor s i Source #

f32 :: (Real f, Fractional f) => (s -> f) -> Descriptor s f Source #

f64 :: (Real f, Fractional f) => (s -> f) -> Descriptor s f Source #