STM32LIB
Functions
STM32LIB::StringUtil Namespace Reference

Functions

void toHex (const void *buffer, uint32_t bufferSize, char *output)
 
char * itoa (int value, char *result, int base)
 
uint32_t modp_uitoa10 (uint32_t value, char *str)
 
uint16_t modp_dtoa (double value, int8_t prec, char *str)
 

Function Documentation

void STM32LIB::StringUtil::toHex ( const void *  buffer,
uint32_t  bufferSize,
char *  output 
)

Convert input values to lower case hex (like bin2hex).

Parameters
bufferThe input values
bufferSizeHow many bytes to convert
outputWhere to store output. Requires 2x bufferSize bytes available.
char * STM32LIB::StringUtil::itoa ( int  value,
char *  result,
int  base 
)
uint32_t STM32LIB::StringUtil::modp_uitoa10 ( uint32_t  value,
char *  str 
)
uint16_t STM32LIB::StringUtil::modp_dtoa ( double  value,
int8_t  prec,
char *  str 
)