def b64.canon

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

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

112def b64.canon(+s: String, m: Maybe<&1, Bytes.Bytes>) -> Maybe<&1, Bytes.Bytes>:
113  match m:
114    case None{}:
115      None{}
116    case Some{b}:
117      b64.same(s, Bytes.slice(b, 0, 4294967295))

Uses (5)

Used by (1)