def unb64u

bend-kit-jwt@0.11.0.1 · jwt.bend:152

import bend-kit-jwt@0.11.0.1/jwt.bend as Jwt
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

152# Strict: only the URL-safe alphabet, no '=', and only the canonical text of its octets, so pad bits are 0.
153def unb64u(+s: String) -> Maybe<&1, Bytes.Bytes>:
154  unb64u.canon(s, Bytes.from_base64(unb64u.go(s, SNil{}, 0)))

Uses (6)

Used by (2)