cborrs::cbordet

Function cbor_det_get_array_item

Source
pub fn cbor_det_get_array_item<'a>(
    x: CborDetArray<'a>,
    i: u64,
) -> Option<CborDet<'a>>
Expand description

Returns the ith element of the CBOR array x. Returns None if i is equal to or larger than the number of array elements, Some(object) otherwise.