morley-1.18.0: Developer tools for the Michelson Language
Safe HaskellSafe-Inferred
LanguageHaskell2010

Morley.Michelson.Interpret.Unpack

Description

Synopsis

Documentation

newtype UnpackError Source #

Any decoding error.

Constructors

UnpackError 

Fields

unpackInstr' :: ByteString -> Either UnpackError [ExpandedOp] Source #

Deserialize an instruction into the given value.

unpackValue' :: forall t. UnpackedValScope t => ByteString -> Either UnpackError (Value t) Source #

Deserialize bytes into the given value. Suitable for UNPACK operation only.