pub unsafe extern "C" fn nanocbor_put_tstrn(
    enc: *mut nanocbor_encoder_t,
    str_: *const c_char,
    len: size_t
) -> c_int
Expand description

@brief Copy n bytes of a text string with indicator into the encoder buffer

@param[in] enc Encoder context @param[in] str text string to encode @param[in] len number of string bytes to copy

@return NANOCBOR_OK if the string fits @return Negative on error