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

ParseTsUdScMultiTransport() private method

Parse TS_UD_SC_MULTITRANSPORT (parser index is updated according to parsed length)
private ParseTsUdScMultiTransport ( byte data, int &currentIndex ) : TS_UD_SC_MULTITRANSPORT
data byte data to be parsed
currentIndex int current parser index
return TS_UD_SC_MULTITRANSPORT
        private TS_UD_SC_MULTITRANSPORT ParseTsUdScMultiTransport(byte[] data, ref int currentIndex)
        {
            TS_UD_SC_MULTITRANSPORT multitransport = new TS_UD_SC_MULTITRANSPORT();

            multitransport.header.type = (TS_UD_HEADER_type_Values)ParseUInt16(data, ref currentIndex, false);
            multitransport.header.length = ParseUInt16(data, ref currentIndex, false);
            multitransport.flags = (MULTITRANSPORT_TYPE_FLAGS) ParseUInt32(data, ref currentIndex, false);

            return multitransport;
        }
RdpbcgrDecoder