Function colab::getIdentifierFromBuffer

Function Documentation

std::string colab::getIdentifierFromBuffer(UINT8 *buffer, UINT16 &nextData, UINT16 bufferLength)

buffer should point to the BEGIN of the buffer (incl. magic word), bufferLength is the length of the full buffer (incl. magic word and checksum).

Returns the variable or method identifier from buffer. pos points to the begin of the next data after identifier. is pos == 0, there is no more data