def Http.pct_bytes
import bend-kube-runtime@0.2.0.0/src/http.bend as Httpimport Base
119def Http.pct_bytes(bs: List<&2, U32>, rest: String) -> String:
120 match bs:
121 case Nil{}:
122 rest
123 case Con{+b, t}:
124 SCon{'%', SCon{Http.pct_hex((b >> 4n : U32)), SCon{Http.pct_hex((b .&. 15 : U32)),
125 Http.pct_bytes(t, rest)}}}