Utility class to convert int to 4 chars and 4 chars to int. More...
#include <Network/Utils/DataUtils.h>
Static Public Member Functions | |
static int | charDWordToInt (const char *pData) |
Converts 4 chars to int. | |
static void | intToDWordChar (int data, char *pDWord) |
Converts 1 int to 4 chars. |
Utility class to convert int to 4 chars and 4 chars to int.
static int DataUtils::charDWordToInt | ( | const char * | pData | ) | [static] |
Converts 4 chars to int.
pData | the 4 chars to read |
static void DataUtils::intToDWordChar | ( | int | data, | |
char * | pDWord | |||
) | [static] |
Converts 1 int to 4 chars.
data | the int to convert | |
pDWord | the 4 char to fill |