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

ParseTsPoint16() private method

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

            // TS_POINT16: xPos
            point.xPos = ParseUInt16(data, ref currentIndex, false);

            // TS_POINT16: yPos
            point.yPos = ParseUInt16(data, ref currentIndex, false);

            return point;
        }
RdpbcgrDecoder