def three

ezmcp@0.1.0.0 · src/line.bend:89

import ezmcp@0.1.0.0/src/line.bend as Line
import Base

89# the code point of a three-byte sequence
90def three(+lead: U32, +byte: U32, +cb: U32) -> U32:
91  U32.add(U32.mul(U32.add(U32.mul(U32.sub(lead, 224), 64), low6(byte)), 64), low6(cb))

Uses (5)

Used by (1)