Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrDecoder.ParseTsUdScMSGChannel C# (CSharp) Method

ParseTsUdScMSGChannel() private method

Parse TS_UD_SC_MCS_MSGCHANNEL (parser index is updated according to parsed length)
private ParseTsUdScMSGChannel ( byte data, int &currentIndex ) : TS_UD_SC_MCS_MSGCHANNEL
data byte data to be parsed
currentIndex int current parser index
return TS_UD_SC_MCS_MSGCHANNEL
        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;
        }
RdpbcgrDecoder