def b64.bytes

emerging-ezhttp@0.21.0.0 · src/b64.bend:77

import emerging-ezhttp@0.21.0.0/src/b64.bend as B64
import Base

77# code points of a string, one octet each (credentials are ASCII)
78def b64.bytes(s: String) -> List<&2, U32>:
79  match s:
80    case SNil{}:
81      []
82    case SCon{h, t}:
83      Char.to_u32(h) <> b64.bytes(t)

Uses (4)

Used by (1)