def utf8.cp
import bend-kit-cbor@0.3.0.0/cbor.bend as Cborimport Base
168def utf8.cp(+i: U32, r: Array<U32> & Cp) -> Array<U32> & U32 & Bool:
169 (a, cp) = r
170 Cp{c, +w} = cp
171 (a, (i + w : U32), U32.is_ne(w, 0))
import bend-kit-cbor@0.3.0.0/cbor.bend as Cborimport Base
168def utf8.cp(+i: U32, r: Array<U32> & Cp) -> Array<U32> & U32 & Bool:
169 (a, cp) = r
170 Cp{c, +w} = cp
171 (a, (i + w : U32), U32.is_ne(w, 0))