Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data PString s
- pisHexDigit :: forall (s :: S). Term s (PInteger :--> PBool)
- pencodeUtf8 :: Term s (PString :--> PByteString)
- pdecodeUtf8 :: Term s (PByteString :--> PString)
Type
Plutus BuiltinString
values
Instances
pisHexDigit :: forall (s :: S). Term s (PInteger :--> PBool) Source #
Verify if the given argument is the ASCII encoding of a hex digit. This includes specifically the following ASCII ranges (inclusively):
- 48-54 (digits 0 through 9)
- 65-70 (upper-case A through upper-case F)
- 97-102 (lower-case a through lower-case f)
@since WIP
pencodeUtf8 :: Term s (PString :--> PByteString) Source #
Encode a PString
using UTF-8.
pdecodeUtf8 :: Term s (PByteString :--> PString) Source #
Decode a PByteString
using UTF-8.