def utf8.step

bend-kit-cbor@0.3.0.0 · cbor.bend:191

import bend-kit-cbor@0.3.0.0/cbor.bend as Cbor
import Base

191def utf8.step(ok: Bool, a: Array<U32>, +end: U32, +i: U32) -> Array<U32> & U32 & Bool:
192  match ok:
193    case True{}:
194      utf8.more(U32.is_lt(i, end), a, end, i)
195    case False{}:
196      (a, i, False{})

Uses (7)

Used by (1)