DataUtils Class Reference

Utility class to convert int to 4 chars and 4 chars to int. More...

#include <Network/Utils/DataUtils.h>

List of all members.

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.

Detailed Description

Utility class to convert int to 4 chars and 4 chars to int.


Member Function Documentation

static int DataUtils::charDWordToInt ( const char *  pData  )  [static]

Converts 4 chars to int.

Parameters:
pData the 4 chars to read
Returns:
the int read
static void DataUtils::intToDWordChar ( int  data,
char *  pDWord 
) [static]

Converts 1 int to 4 chars.

Parameters:
data the int to convert
pDWord the 4 char to fill

The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Properties
Generated on Tue Sep 13 01:45:58 2011 for MedCenter by  doxygen 1.6.3