def B64.next

bend-kube-runtime@0.2.0.0 · src/base64.bend:58

import bend-kube-runtime@0.2.0.0/src/base64.bend as Base64
import Base

58# The state after a char's value v.
59def B64.next(st: B64, +v: U32) -> B64:
60  match st:
61    case B64{+acc, +bits, ok}:
62      B64.next.go(acc, bits, ok, v, U32.is_eq(v, 64), U32.is_eq(v, 65), U32.is_ge(bits, 2))

Uses (5)

Used by (1)