private short decodeShortValue() { Byte cMSD = m_tempBuffer[RXPAR1POS]; Byte cLSD = m_tempBuffer[RXPAR2POS]; short shResult = (short)((cMSD << 8) | cLSD); return shResult; }