72 inline T
read (
const std::string& str)
84 template<>
inline std::string read<std::string>(
const std::string& rxData) {
return rxData; }
UINT8 nibbleToAscii(UINT8 value)
double read< double >(const std::string &rxData)
std::string decodeString(std::string *rxData, UINT16 len)
INT16 decodeINT16(std::string *rxData)
INT8 read< INT8 >(const std::string &rxData)
std::string getNextStringToken(std::string *rxData)
T read(const std::string &str)
General template which is unimplemented; implemented specializations follow below.
std::string convertRxBufferToString(UINT8 *buffer, UINT16 bufferLen)
UINT8 read< UINT8 >(const std::string &rxData)
UINT16 addINT8ToBuffer(UINT8 *buffer, INT8 value)
INT32 read< INT32 >(const std::string &rxData)
UINT16 addUINT8ToBuffer(UINT8 *buffer, UINT8 value)
UINT16 read< UINT16 >(const std::string &rxData)
UINT8 decodeUINT8(std::string *rxData)
UINT32 decodeXByte(std::string *rxData, UINT16 len)
UINT16 addINT32ToBuffer(UINT8 *buffer, INT32 value)
void addFrameToBuffer(UINT8 *sendBuffer, UINT8 *cmdBuffer, UINT16 *len)
INT16 read< INT16 >(const std::string &rxData)
UINT16 addStringToBuffer(UINT8 *buffer, const std::string &text)
UINT16 writeToBuffer(BYTE *buffer, double value)
INT32 decodeINT32(std::string *rxData)
UINT32 read< UINT32 >(const std::string &rxData)
UINT16 addUINT16ToBuffer(UINT8 *buffer, UINT16 value)
UINT16 addUINT32ToBuffer(UINT8 *buffer, UINT32 value)
double decodeReal(std::string *rxData)
UINT16 decodeUINT16(BYTE *buffer)
UINT32 decodeUINT32(std::string *rxData)
UINT16 getValueOfChar(UINT8 c)