B64.strip_pad.rev: def of bendonnect-rpc@0.1.0.0 Import: import bendonnect-rpc@0.1.0.0/src/b64.bend as B64 Lines 15-20 of bendonnect-rpc@0.1.0.0/src/b64.bend: https://jend.leeeet.dev/read.txt?path=bendonnect-rpc@0.1.0.0/src/b64.bend&start_line=15&end_line=20 import Base def strip_pad.rev(s: String) -> String: match s: case SNil{}: SNil{} case SCon{Chr{+c}, +t}: strip_pad.pick(U32.is_eq(c, 61), Chr{c}, t, u => strip_pad.rev(t)) Uses (4): 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.is_eq https://jend.leeeet.dev/definition.txt?path=bendonnect-rpc@0.1.0.0/src/b64.bend&name=strip_pad.pick