def hexv

bend-kit-http@0.38.2.0 · http.bend:421

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

421def hexv(+c: U32) -> U32:
422  Bool.pick(U32, parse_u32.digit(c), (c - 48 : U32), Bool.pick(U32, U32.is_le(c, 70), (c - 55 : U32), (c - 87 : U32)))

Uses (5)

Used by (1)