pub unsafe extern "C" fn nanocbor_get_bstr(
    cvalue: *mut nanocbor_value_t,
    buf: *mut *const u8,
    len: *mut size_t
) -> c_int
Expand description

@brief Retrieve a byte string from the stream

The resulting @p buf and @p len are undefined if the result is an error condition

@param[in] cvalue CBOR value to decode from @param[out] buf pointer to the byte string @param[out] len length of the byte string

@return NANOCBOR_OK on success @return negative on error