Safe Haskell | None |
---|---|
Language | Haskell2010 |
Little-endian and big-endian parsers for signed and unsigned integers, and for single-precision and double-precision floating point numbers.
The parsers are tagged for endianness using the tools in Fit.Internal.Architecture.
- int16le :: LittleEndian (Parser Int16)
- int32le :: LittleEndian (Parser Int32)
- int64le :: LittleEndian (Parser Int64)
- word16le :: LittleEndian (Parser Word16)
- word32le :: LittleEndian (Parser Word32)
- word64le :: LittleEndian (Parser Word64)
- float32le :: LittleEndian (Parser Float)
- float64le :: LittleEndian (Parser Double)
- int16be :: BigEndian (Parser Int16)
- int32be :: BigEndian (Parser Int32)
- int64be :: BigEndian (Parser Int64)
- word16be :: BigEndian (Parser Word16)
- word32be :: BigEndian (Parser Word32)
- word64be :: BigEndian (Parser Word64)
- float32be :: BigEndian (Parser Float)
- float64be :: BigEndian (Parser Double)
- nByteIntLe :: (Integral a, Bits a) => Int -> Parser a
- nByteIntBe :: (Integral a, Bits a) => Int -> Parser a
Little-endian parsers
int16le :: LittleEndian (Parser Int16) Source
int32le :: LittleEndian (Parser Int32) Source
int64le :: LittleEndian (Parser Int64) Source