def Pct.esc

bend-kube-runtime@0.2.0.0 · src/proxy.bend:214

import bend-kube-runtime@0.2.0.0/src/proxy.bend as Proxy
import Base

214def Pct.esc(+a: Char, +b: Char, rest: List<&2, U32>) -> List<&2, U32>:
215  +hi = Pct.hex(Char.to_u32(a))
216  +lo = Pct.hex(Char.to_u32(b))
217  Pct.esc.if(a, b, hi, lo, rest, Bool.and(U32.is_lt(hi, 16), U32.is_lt(lo, 16)))

Uses (8)

Used by (1)