morley-1.20.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

Instances

Instances details
Exception UnpackError Source # 
Instance details

Defined in Morley.Util.Binary

Show UnpackError Source # 
Instance details

Defined in Morley.Util.Binary

Eq UnpackError Source # 
Instance details

Defined in Morley.Util.Binary

Buildable UnpackError Source # 
Instance details

Defined in Morley.Util.Binary

Methods

build :: UnpackError -> Doc

buildList :: [UnpackError] -> Doc

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.