| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Plutarch.Builtin.String
Synopsis
- newtype PString (s :: S) = PString (Term s POpaque)
- pdecodeUtf8 :: forall (s :: S). Term s (PByteString :--> PString)
- pencodeUtf8 :: forall (s :: S). Term s (PString :--> PByteString)
- ptrace' :: forall (s :: S) (a :: S -> Type). Term s (PString :--> (a :--> a))
- ptraceInfo :: forall (a :: S -> Type) (s :: S). Term s PString -> Term s a -> Term s a
Documentation
newtype PString (s :: S) Source #
Plutus BuiltinString values
Instances
pdecodeUtf8 :: forall (s :: S). Term s (PByteString :--> PString) Source #
Decode a PByteString using UTF-8.
pencodeUtf8 :: forall (s :: S). Term s (PString :--> PByteString) Source #
Encode a PString using UTF-8.