libcoap  4.3.0
encode.c File Reference
+ Include dependency graph for encode.c:

Go to the source code of this file.

Functions

int coap_fls (unsigned int i)
 
int coap_flsll (long long i)
 
unsigned int coap_decode_var_bytes (const uint8_t *buf, size_t len)
 Decodes multiple-length byte sequences. More...
 
unsigned int coap_encode_var_safe (uint8_t *buf, size_t length, unsigned int val)
 Encodes multiple-length byte sequences. More...
 
uint64_t coap_decode_var_bytes8 (const uint8_t *buf, size_t len)
 Decodes multiple-length byte sequences. More...
 
unsigned int coap_encode_var_safe8 (uint8_t *buf, size_t length, uint64_t val)
 Encodes multiple-length byte sequences. More...
 

Function Documentation

◆ coap_fls()

int coap_fls ( unsigned int  i)

Definition at line 15 of file encode.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ coap_flsll()

int coap_flsll ( long long  i)

Definition at line 21 of file encode.c.

+ Here is the caller graph for this function: