def utf8.more

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

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

184def utf8.more(go: Bool, a: Array<U32>, +end: U32, +i: U32) -> Array<U32> & U32 & Bool:
185  match go:
186    case True{}:
187      utf8.lead(end, i, Bytes.peek(a, i))
188    case False{}:
189      (a, i, True{})

Uses (7)

Used by (1)