libcoap 4.3.1
encode.c File Reference

Encoding and decoding Coap data types functions. More...

+ 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...
 

Detailed Description

Encoding and decoding Coap data types functions.

Definition in file encode.c.

Function Documentation

◆ coap_fls()

int coap_fls ( unsigned int  i)

Definition at line 20 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 26 of file encode.c.

+ Here is the caller graph for this function: