37 #define TO_UINT8_HEX_BUF_LEN 2048
40 #define strlens(s) (s == NULL ? 0 : strlen(s))
44 void utils_hex_to_bin(
const char* str,
unsigned char* out,
int inLen,
int* outLen);
void utils_reverse_hex(char *h, int len)
int utils_varint_to_uint64(const char *vi, uint64_t *i)
void utils_bin_to_hex(unsigned char *bin_in, size_t inlen, char *hex_out)
void utils_uint64_to_varint(char *vi, int *l, uint64_t i)
char * utils_uint8_to_hex(const uint8_t *bin, size_t l)
uint8_t * utils_hex_to_uint8(const char *str)
void utils_hex_to_bin(const char *str, unsigned char *out, int inLen, int *outLen)
void utils_clear_buffers(void)