type St
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
551# SHead reads an item at i; SChunk reads the next chunk of an indefinite string; SDone hands v to the open frame.
552type St is Type:
553 SHead{i: U32, stack: List<&1, Frame>}
554 SChunk{i: U32, text: Bool, chunks: List<&1, Bytes.Bytes>, stack: List<&1, Frame>}
555 SDone{v: Val, i: U32, stack: List<&1, Frame>}
556 SOk{v: Val}
557 SFail{}