type Item

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

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

224# IGuard aborts the encoding when a value has no CBOR form; IText carries a text string and its UTF-8 check.
225type Item is Type:
226  IVal{value: Val}
227  IArr{items: List<&1, Val>}
228  IMap{items: List<&1, Val & Val>}
229  IArrLen{value: List<&1, Val> & Nat}
230  IMapLen{value: List<&1, Val & Val> & Nat}
231  IGuard{ok: Bool}
232  IText{value: Bytes.Bytes & Bool}

Uses (6)

Used by (2)