Microsoft.Protocols.TestSuites.Common.RopReadStreamRequest.Size C# (CSharp) Method

Size() public method

Return the size of this structure.
public Size ( ) : int
return int
        public int Size()
        {
            // 5 indicates sizeof(byte) * 3 + sizeof(UInt16)
            int size = sizeof(byte) * 5;
            if (this.ByteCount == 0xBABE)
            {
                size += 4;
            }

            return size;
        }
    }
RopReadStreamRequest