Home
last modified time | relevance | path

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

/zcbor-latest/include/
Dzcbor_encode.h205 bool zcbor_bstr_encode_ptr(zcbor_state_t *state, const char *str, size_t len);
209 #define zcbor_bstr_put_lit(state, str) zcbor_bstr_encode_ptr(state, str, sizeof(str) - 1)
211 #define zcbor_bstr_put_arr(state, str) zcbor_bstr_encode_ptr(state, str, sizeof(str))
/zcbor-latest/src/
Dzcbor_encode.c302 bool zcbor_bstr_encode_ptr(zcbor_state_t *state, const char *str, size_t len) function
320 return zcbor_bstr_encode_ptr(state, str, strnlen(str, maxlen));