def cont

ezhttp@0.22.0.0 · src/pct.bend:35

import ezhttp@0.22.0.0/src/pct.bend as Pct
import Base

35# a continuation byte: 10xxxxxx from the six bits at `shift`
36def cont(+cp: U32, shift: Nat) -> U32:
37  U32.or(128, U32.and(U32.shrn(cp, shift), 63))

Uses (5)

Used by (3)