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

ParseTsPlainNotify() private method

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

            // TS_PLAIN_NOTIFY: Pad
            notify.Pad = GetBytes(data, ref currentIndex, ConstValue.TS_PLAIN_NOTIFY_PAD_LENGTH);

            return notify;
        }
RdpbcgrDecoder