cborrs::cbordet

Function cbor_det_mk_array

Source
pub fn cbor_det_mk_array<'a>(a: &'a [CborDet<'a>]) -> Option<CborDet<'a>>
Expand description

Constructs a Deterministic CBOR of “array” type. This function does not copy its input array. It returns None if the input array has more than $2^64 - 1$ elements, Some(object) otherwise.