Nar.b64.one: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/sha/nar.bend as Nar Lines 141-144 of ezx@1.13.0.0/src/sha/nar.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/sha/nar.bend&start_line=141&end_line=144 import Base def b64.one(+first: U32) -> String: SCon{b64.digit(U32.shrn(first, 2n)), SCon{b64.digit(U32.shln((first .&. 3 : U32), 4n)), SCon{'=', SCon{'=', SNil{}}}}} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char 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=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shln https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/sha/nar.bend&name=b64.digit