The class dataHandlerNumeric calculates the wrong size

Issue #39 resolved
Paolo Brandoli repo owner created an issue

dataHandlerNumeric::parseBuffer set the variable m_pMemoryStringEnd to the wrong value. It should not divide it by sizeof(dataHandlerType)

Is: m_pMemoryStringEnd = (imbxUint8*)m_pMemoryString + memoryBuffer->size() / sizeof(dataHandlerType);

Should be: m_pMemoryStringEnd = (imbxUint8*)m_pMemoryString + memoryBuffer->size();

Comments (1)

  1. Log in to comment