Copyright | (c) Philip Cunningham, 2015 |
---|---|
License | MIT |
Maintainer | hello@filib.io |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Simple interface to deserialise Ruby Marshal binary.
- decode :: ByteString -> Maybe RubyObject
- decodeEither :: ByteString -> Either String RubyObject
- module Data.Ruby.Marshal.Get
- module Data.Ruby.Marshal.Types
Simple interface to deserialise Ruby Marshal binary
:: 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.
:: 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
module Data.Ruby.Marshal.Get
module Data.Ruby.Marshal.Types