def chunk.str
bend-kit-cbor@0.3.0.0 · cbor.bend:683
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
683def chunk.str(+text: Bool, chunks: List<&1, Bytes.Bytes>, +i: U32, stack: List<&1, Frame>, r: Array<U32> & Maybe<&1, Bytes.Bytes>) -> Array<U32> & St:
684 (a, m) = r
685 match m:
686 case Some{b}:
687 Bytes.Bytes{+n, buf} = b
688 (a, SChunk{(i + n : U32), text, Con{Bytes.Bytes{n, buf}, chunks}, stack})
689 case None{}:
690 (a, SFail{})