riot_sys::bindgen

Function cose_hdr_format_data

Source
pub unsafe extern "C" fn cose_hdr_format_data(
    hdr: *mut cose_hdr_t,
    key: i32,
    data: *const u8,
    len: size_t,
)
Expand description

Format header with a byte array based value

@param hdr The header to modify @param key The key to add @param data The byte array to add @param len Length of the byte array