Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrServerDecoder.ParseTsUdCsMcsMsgChannel C# (CSharp) Method

ParseTsUdCsMcsMsgChannel() private method

Parse TS_UD_CS_MCS_MSGCHANNEL (parser index is updated according to parsed length)
private ParseTsUdCsMcsMsgChannel ( byte data, int &currentIndex ) : TS_UD_CS_MCS_MSGCHANNEL
data byte data to be parsed
currentIndex int current parser index
return TS_UD_CS_MCS_MSGCHANNEL
        private TS_UD_CS_MCS_MSGCHANNEL ParseTsUdCsMcsMsgChannel(byte[] data, ref int currentIndex)
        {
            TS_UD_CS_MCS_MSGCHANNEL msgChannelData = new TS_UD_CS_MCS_MSGCHANNEL();
            msgChannelData.header.type = (TS_UD_HEADER_type_Values)ParseUInt16(data, ref currentIndex, false);
            msgChannelData.header.length = ParseUInt16(data, ref currentIndex, false);
            msgChannelData.flags = (FLAGS_TS_UD_CS_MCS_MSGCHANNEL)(ParseUInt32(data, ref currentIndex, false));

            return msgChannelData;
        }
RdpbcgrServerDecoder