ruby-marshal-0.2.0: Parse a subset of Ruby objects serialised with Marshal.dump.
Copyright(c) Philip Cunningham 2015
LicenseMIT
Maintainerhello@filib.io
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Data.Ruby.Marshal.Encoding

Description

Ruby encoding types.

Synopsis

The RubyStringEncoding type

fromEnc :: RubyStringEncoding -> ByteString Source #

Lowers encoding ADT into an encoding string.

toEnc :: ByteString -> RubyStringEncoding Source #

Lifts encoding strings into encoding ADT.

data RubyStringEncoding Source #

ADT representing all supported Ruby encodings.