pub fn cbor_det_mk_text_string<'a>(s: &'a str) -> Option<CborDet<'a>>Expand description
Constructs a Deterministic CBOR object of “text string” type, with
the contents of s as value. This function does not perform any
copy of its input s. It returns None if the byte size of s
is larger than $2^64 - 1$, Some(object) otherwise. This function
respects the UTF-8 well-formedness invariants.