27 #ifndef _EASYUINO_UTILITIES_h 28 #define _EASYUINO_UTILITIES_h 54 static void*
EasyMalloc(IN
unsigned int sizeInBytes);
60 static void ZeroBuffer(IN
void *buffer, IN
size_t bufferSize);
static void OverrideLastStringChar(IN char *string)
Put a \0 in the last character of the string.
static void ObtainI2CDeviceAddress(INOUT int *listOfAddresses, IN uint8_t sizeOfList)
Obtain the addresses of all devices connected to Arduino using I2C.
static void OverrideLastTwoChar(IN char *string)
Put a \0 in the last two characters of the string.
static void * EasyMalloc(IN unsigned int sizeInBytes)
Wrapper around the stdlib.h malloc to make it safe of overflows in the the majority of common string ...
static void ZeroBuffer(IN void *buffer, IN size_t bufferSize)
Fills a given buffer with zeros aka \0.
Provides some auxiliary functions for internal use in library but at same time expose it to public fo...
Definition: Utilities.h:46