pub unsafe extern "C" fn nanocbor_put_bstr(
enc: *mut nanocbor_encoder_t,
str_: *const u8,
len: size_t,
) -> c_int
Expand description
@brief Copy a byte string with indicator into the encoder buffer
@param[in] enc Encoder context @param[in] str byte string to encode @param[in] len Length of the string
@return NANOCBOR_OK if the string fits @return Negative on error