Files | |
file | integer_length.h |
Edge common integer handling functions. | |
Functions | |
uint16_t | edge_int_length (uint32_t value) |
Return the length of the integer in characters. This function calculates the needed space of characters to represent the integer argument. More... | |
int | edge_str_to_uint16_t (const char *str, uint16_t *result) |
Convert the string to uin16_t. More... | |
uint16_t edge_int_length | ( | uint32_t | value | ) |
Return the length of the integer in characters. This function calculates the needed space of characters to represent the integer argument.
value | The value to calculate the length as a characters. |
int edge_str_to_uint16_t | ( | const char * | str, |
uint16_t * | result | ||
) |
Convert the string to uin16_t.
str | String to convert. String must be NUL-terminated. |
result | The pointer where to store the result. |