20#if (BSD >= 199103) || defined(WITH_CONTIKI) || defined(_WIN32)
32#define coap_fls(i) fls(i)
39#define coap_flsll(i) flsll(i)
int coap_flsll(long long i)
int coap_fls(unsigned int i)
COAP_STATIC_INLINE COAP_DEPRECATED int coap_encode_var_bytes(uint8_t *buf, unsigned int value)
unsigned int coap_encode_var_safe(uint8_t *buf, size_t length, unsigned int value)
Encodes multiple-length byte sequences.
unsigned int coap_decode_var_bytes(const uint8_t *buf, size_t length)
Decodes multiple-length byte sequences.
uint64_t coap_decode_var_bytes8(const uint8_t *buf, size_t length)
Decodes multiple-length byte sequences.
unsigned int coap_encode_var_safe8(uint8_t *buf, size_t length, uint64_t value)
Encodes multiple-length byte sequences.
#define COAP_STATIC_INLINE