def item.str
import bend-kit-cbor@0.3.0.0/cbor.bend as Cborimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
559def item.str(+text: Bool, +i: U32, stack: List<&1, Frame>, r: Array<U32> & Maybe<&1, Bytes.Bytes>) -> Array<U32> & St:
560 (a, m) = r
561 match m:
562 case Some{b}:
563 Bytes.Bytes{+n, buf} = b
564 (a, SDone{wrap(text, Bytes.Bytes{n, buf}), (i + n : U32), stack})
565 case None{}:
566 (a, SFail{})