Microsoft.Protocols.TestSuites.MS_OXCFXICS.FastTransferStream.VerifyUInt32 C# (CSharp) Method

VerifyUInt32() public method

Get a uint value and do not advance the position.
public VerifyUInt32 ( ) : uint
return uint
        public uint VerifyUInt32()
        {
            return BitConverter.ToUInt32(
                this.GetBuffer(),
                (int)this.Position);
        }

Same methods

FastTransferStream::VerifyUInt32 ( int offset ) : uint

Usage Example

示例#1
0
        /// <summary>
        /// Deserialize fields from a FastTransferStream.
        /// </summary>
        /// <param name="stream">A FastTransferStream.</param>
        public override void Deserialize(FastTransferStream stream)
        {
            this.propValues = new List <PropValue>();
            while (PropValue.Verify(stream) &&
                   !MarkersHelper.IsEndMarkerExceptEcWarning(stream.VerifyUInt32()))
            {
                this.propValues.Add(PropValue.DeserializeFrom(stream) as PropValue);
            }

            if (SyntacticalBase.AllPropList != null)
            {
                SyntacticalBase.AllPropList.Add(this);
            }
        }
All Usage Examples Of Microsoft.Protocols.TestSuites.MS_OXCFXICS.FastTransferStream::VerifyUInt32