B64.utf8.encode: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/b64.bend as B64 Lines 22-28 of cswap-bend-cli@0.1.0.0/b64.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/b64.bend&start_line=22&end_line=28 import Base # The UTF-8 bytes of a string. def utf8.encode(s: String) -> List<&2, U32>: match s: case SNil{}: [] case SCon{Chr{c}, t}: utf8.cat(c, utf8.encode(t)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/b64.bend&name=utf8.cat