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

ParseX224Crq() private method

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

            // X224Crq: LengthIndicator
            crq.lengthIndicator = ParseByte(data, ref currentIndex);

            // X224Crq: TypeCredit
            crq.typeCredit = ParseByte(data, ref currentIndex);

            // X224Crq: DestRef
            crq.destRef = ParseUInt16(data, ref currentIndex, true);

            // X224Crq: SrcRef
            crq.srcRef = ParseUInt16(data, ref currentIndex, true);

            // X224Crq: ClassOptions
            crq.classOptions = ParseByte(data, ref currentIndex);

            return crq;
        }
RdpbcgrServerDecoder