def tok.byte

emerging-ezhttp@0.21.0.0 · src/qs.bend:36

import emerging-ezhttp@0.21.0.0/src/qs.bend as Qs
import Base

36# the byte a plain ASCII character stands for: `+` is a space when `plus`
37def tok.byte(plus: Bool, +c: Char) -> U32:
38  Bool.pick(U32, Bool.and(plus, Char.is_eq(c, '+')), 32, Char.to_u32(c))

Uses (7)

Used by (1)