def Pct.hex

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

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

201# A hex digit's value, 16 for any other character.
202def Pct.hex(+c: U32) -> U32:
203  Pct.hex.go(c, Bool.and(U32.is_ge(c, 48), U32.is_le(c, 57)),
204    Bool.and(U32.is_ge(c, 65), U32.is_le(c, 70)), Bool.and(U32.is_ge(c, 97), U32.is_le(c, 102)))

Uses (5)

Used by (1)