Function riot_sys::nanocbor_fmt_tstr
source · pub unsafe extern "C" fn nanocbor_fmt_tstr(
enc: *mut nanocbor_encoder_t,
len: size_t
) -> c_int
Expand description
@brief Write a text string indicator for a string with specific length into the encoder buffer
This doesn’t write any text string into the encoder buffer, only the type and length indicator for the text string
@param[in] enc Encoder context @param[in] len Length of the text string
@return number of bytes written @return Negative on error