| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Michelson.Interpret.Pack
Description
Module, carrying logic of PACK instruction.
This is nearly symmetric to adjacent Unpack.hs module.
Synopsis
- packValue :: (SingI t, HasNoOp t, HasNoBigMap t) => Value t -> LByteString
- packValue' :: (SingI t, HasNoOp t, HasNoBigMap t) => Value t -> ByteString
Documentation
packValue :: (SingI t, HasNoOp t, HasNoBigMap t) => Value t -> LByteString Source #
Serialize a value given to PACK instruction.
packValue' :: (SingI t, HasNoOp t, HasNoBigMap t) => Value t -> ByteString Source #
Same as packValue, for strict bytestring.