morley-1.7.0: Developer tools for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Michelson.Interpret.Unpack

Description

Synopsis

Documentation

newtype UnpackError Source #

Any decoding error.

Constructors

UnpackError 

Fields

Instances

Instances details
Eq UnpackError Source # 
Instance details

Defined in Util.Binary

Show UnpackError Source # 
Instance details

Defined in Util.Binary

Exception UnpackError Source # 
Instance details

Defined in Util.Binary

Buildable UnpackError Source # 
Instance details

Defined in Util.Binary

Methods

build :: UnpackError -> Builder #

unpackValue :: UnpackedValScope t => LByteString -> Either UnpackError (Value t) Source #

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

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

Deserialize an instruction into the given value.