def encode

cswap-bend-cli@0.1.0.0 · b64.bend:108

import cswap-bend-cli@0.1.0.0/b64.bend as B64
import Base

108# Base64 of the UTF-8 form of the text.
109def encode(s: String) -> String:
110  encode_bytes(utf8.encode(s))

Uses (3)

Used by (4)