Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Language.Bitcoin.Script.Utils
Synopsis
- pushNumber :: Int -> ScriptOp
- toCScriptNum :: Int -> ByteString
- fromCScriptNum :: ByteString -> Int
Documentation
pushNumber :: Int -> ScriptOp Source #
toCScriptNum :: Int -> ByteString Source #
Encode a numeric stack value
fromCScriptNum :: ByteString -> Int Source #
Decode a numeric stack value