Go to the documentation of this file.
108 for (
int i = 0; i < width; i++)
110 buffer[pos+width-1-i] = (intValue >> (8 * i)) & 0xff;
132 for (
int i = 0; i < width; i++)
134 intValue += buffer[pos+width-1-i] << (8 * i);
T getIntegerFromBuffer(UINT8 *buffer, UINT16 &pos)
void addFrameToBuffer(UINT8 *sendBuffer, UINT8 *cmdBuffer, UINT16 *len)
std::string getStringFromBuffer(UINT8 *buffer, UINT16 &pos, UINT16 length)
void addFloatToBuffer(UINT8 *buffer, UINT16 &pos, T floatValue)
void addIntegerToBuffer(UINT8 *buffer, UINT16 &pos, T intValue)
double getDoubleFromBuffer(UINT8 *buffer, UINT16 &pos)
UINT16 decodeUINT16(BYTE *buffer)
void addStringToBuffer(UINT8 *buffer, UINT16 &pos, const std::string &stringValue)
std::string getCommandStringFromBuffer(UINT8 *buffer)
std::string getIdentifierFromBuffer(UINT8 *buffer, UINT16 &nextData, UINT16 bufferLength)
sick_scan
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19