/// <summary> /// Parse TS_UD_SC_MCS_MSGCHANNEL /// (parser index is updated according to parsed length) /// </summary> /// <param name="data">data to be parsed</param> /// <param name="currentIndex">current parser index</param> /// <returns>TS_UD_SC_MCS_MSGCHANNEL</returns> private TS_UD_SC_MCS_MSGCHANNEL ParseTsUdScMSGChannel(byte[] data, ref int currentIndex) { TS_UD_SC_MCS_MSGCHANNEL channelData = new TS_UD_SC_MCS_MSGCHANNEL(); channelData.header.type = (TS_UD_HEADER_type_Values)ParseUInt16(data, ref currentIndex, false); channelData.header.length = ParseUInt16(data, ref currentIndex, false); channelData.MCSChannelID = ParseUInt16(data, ref currentIndex, false); return channelData; }