Base64.B64.val: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/base64.bend as Base64 Lines 24-42 of bend-kube-runtime@0.2.0.0/src/base64.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/base64.bend&start_line=24&end_line=42 import Base # The 6-bit value of a char: 64 for skipped chars, 65 for bad ones. def B64.val(+c: Char) -> U32: match c: case '+': 62 case '/': 63 case '=': 64 case ' ': 64 case '\n': 64 case '\r': 64 case '\t': 64 case Chr{+x}: B64.val.go(x, Char.is_upper(Chr{x}), Char.is_lower(Chr{x}), Char.is_digit(Chr{x})) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_digit https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_lower https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_upper https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/base64.bend&name=B64.val.go