def b64

bend-kit-webhooks@0.11.0.1 · webhooks.bend:119

import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooks
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

119# Padded standard base64, only in its canonical text: Bytes.from_base64 alone accepts nonzero pad bits.
120def b64(+s: String) -> Maybe<&1, Bytes.Bytes>:
121  b64.canon(s, Bytes.from_base64(s))

Uses (5)

Used by (2)