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

ParseInclusiveRect() private method

Parse TS_RECTANGLE16 (parser index is updated according to parsed length)
private ParseInclusiveRect ( byte data, int &currentIndex ) : TS_RECTANGLE16
data byte data to be parsed
currentIndex int current parser index
return TS_RECTANGLE16
        private TS_RECTANGLE16 ParseInclusiveRect(byte[] data, ref int currentIndex)
        {
            TS_RECTANGLE16 rectData = new TS_RECTANGLE16();
            rectData.left = ParseUInt16(data, ref currentIndex, false);
            rectData.top = ParseUInt16(data, ref currentIndex, false);
            rectData.right = ParseUInt16(data, ref currentIndex, false);
            rectData.bottom = ParseUInt16(data, ref currentIndex, false);

            return rectData;
        }
RdpbcgrServerDecoder