morley-0.5.0: Developer tools for the Michelson Language

Safe HaskellNone
LanguageHaskell2010

Michelson.Interpret.Unpack

Description

Module, carrying logic of UNPACK instruction.

This is nearly symmetric to adjacent Pack.hs module.

When implementing this the following sources were used:

Synopsis

Documentation

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

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