Copyright | (c) Philip Cunningham, 2015 |
---|---|
License | MIT |
Maintainer | hello@filib.io |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Parsers for signed and unsigned integrals.
- getInt8 :: Get Int8
- getInt16le :: Get Int16
- getInt24le :: Get Int32
- getInt32le :: Get Int32
- data Int16 :: *
- getWord8 :: Get Word8
- getWord16le :: Get Word16
- getWord24le :: Get Word32
- getWord32le :: Get Word32
- data Word8 :: *
Signed integrals
getInt16le :: Get Int16 Source
Read an Int16.
getInt24le :: Get Int32 Source
Read an Int24. Since Int24 unavailable in Data.Int we use Int32.
getInt32le :: Get Int32 Source
Read an Int32.
data Int16 :: *
16-bit signed integer type
Unsigned integrals
getWord16le :: Get Word16
Read a Word16 in little endian format
getWord24le :: Get Word32 Source
Read a Word24 in little endian format. Since Word24 unavailable in Data.Int we use Word32.
getWord32le :: Get Word32
Read a Word32 in little endian format