ruby-marshal-0.1.1: Parse a subset of Ruby objects serialised with Marshal.dump.

Copyright(c) Philip Cunningham, 2015
LicenseMIT
Maintainerhello@filib.io
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Data.Ruby.Marshal.Int

Contents

Description

Parsers for signed and unsigned integrals.

Synopsis

Signed integrals

getInt8 :: Get Int8 Source

Read an Int8.

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

getWord24le :: Get Word32 Source

Read a Word24 in little endian format. Since Word24 unavailable in Data.Int we use Word32.

data Word8 :: *

8-bit unsigned integer type