numtoa.h
Go to the documentation of this file.
#ifndef __EVHTP_NUMTOA_H__
#define __EVHTP_NUMTOA_H__
#ifdef __cplusplus
extern "C" {
#endif
#include "evhtp/config.h"
EVHTP_EXPORT size_t evhtp_modp_sizetoa(size_t value, char * str);
EVHTP_EXPORT size_t evhtp_modp_u32toa(uint32_t value, char * str);
EVHTP_EXPORT size_t evhtp_modp_u64toa(uint64_t value, char * str);
#define evhtp_modp_uchartoa(_val) (unsigned char)('0' + _val)
#ifdef __cplusplus
}
#endif
#endif
evhtp_modp_sizetoa
EVHTP_EXPORT size_t evhtp_modp_sizetoa(size_t value, char *str)
based on the system architecture, convert a size_t number to a string.
evhtp_modp_u32toa
EVHTP_EXPORT size_t evhtp_modp_u32toa(uint32_t value, char *str)
converts uint32_t value to string
evhtp_modp_u64toa
EVHTP_EXPORT size_t evhtp_modp_u64toa(uint64_t value, char *str)
convert uint64_t value to a string