base64
Base64 encode and decode strings.
Import
import base64Functions
base64.encode(data: str) -> str
Encode a string to base64.
base64.decode(data: str) -> str
Decode a base64 string back to its original bytes.
Examples
scratch.xs
Base64 encode and decode strings.
import base64Encode a string to base64.
Decode a base64 string back to its original bytes.