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

Size() public method

Return the size of this MessageReadState structure.
public Size ( ) : int
return int
        public int Size()
        {
            // 3 indicates sizeof (byte) + sizeof (UInt16)
            int size = sizeof(byte) * 3;
            size += this.MessageIdSize;
            return size;
        }
    }
MessageReadState