def b64.digit.lt62
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
110def b64.digit.lt62(small: Bool, +index: U32) -> Char:
111 match small:
112 case True{}:
113 Chr{U32.add(48, U32.sub(index, 52))}
114 case False{}:
115 b64.digit.plus(U32.is_eq(index, 62))