#ifndef _LIBSTRING_STRCONV_H #define _LIBSTRING_STRCONV_H #include #define str_to_uint32(s) ((uint32_t)str_to_uint64((s))) #define str_to_uint16(s) ((uint16_t)str_to_uint64((s))) #define str_to_uint8(s) ((uint8_t)str_to_uint64((s))) uint64_t str_to_uint64(const char* s); #endif // _LIBSTRING_STRCONV_H