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

ParseTsPointerPosAttribute() private method

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

            // TS_POINTERPOSATTRIBUTE: position
            attribute.position = ParseTsPoint16(data, ref currentIndex);

            return attribute;
        }
RdpbcgrDecoder