pub unsafe extern "C" fn cose_hdr_decode_from_cbor(
buf: *const u8,
len: size_t,
hdr: *mut cose_hdr_t,
key: i32,
) -> bool
Expand description
Decode a cbor header map and retrieve the header with the specified key
@param buf Buffer containing the CBOR encoded map @param len length of the buffer @param hdr hdr struct to fill @param key Key to look for
@return true if decoding succeeded