Home
last modified time | relevance | path

Searched refs:zcbor_bstr_encode_ptr (Results 1 – 2 of 2) sorted by relevance

/zcbor-3.6.0/include/
Dzcbor_encode.h207 bool zcbor_bstr_encode_ptr(zcbor_state_t *state, const char *str, size_t len);
211 #define zcbor_bstr_put_lit(state, str) zcbor_bstr_encode_ptr(state, str, sizeof(str) - 1)
213 #define zcbor_bstr_put_arr(state, str) zcbor_bstr_encode_ptr(state, str, sizeof(str))
/zcbor-3.6.0/src/
Dzcbor_encode.c312 bool zcbor_bstr_encode_ptr(zcbor_state_t *state, const char *str, size_t len) function
330 return zcbor_bstr_encode_ptr(state, str, strnlen(str, maxlen));