pub fn cbor_det_destruct<'a>(c: CborDet<'a>) -> CborDetView<'a>
Expand description
Destructs a Deterministic CBOR object by peeling its first layer of nesting. This function does not recursively descend into array or map payloads, and only reads the header of a tagged payload. As such, it consumes constant stack space. This function respects the UTF-8 well-formedness invariants.