ruby-marshal-0.0.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

Contents

Description

Simple interface to deserialise Ruby Marshal binary.

Synopsis

Simple interface to deserialise Ruby Marshal binary

decode Source

Arguments

:: ByteString

Serialised Ruby object

-> Maybe RubyObject

De-serialisation result

Deserialises a subset of Ruby objects serialised with Marshal, Ruby's built-in binary serialisation format.

decodeEither Source

Arguments

:: ByteString

Serialised Ruby object

-> Either String RubyObject

Error message or de-serialisation result

Deserialises a subset of Ruby objects serialised with Marshal, Ruby's built-in binary serialisation format.

Re-exported modules