MAPIInspector.Parsers.FastTransferStream.VerifyUInt16 C# (CSharp) Метод

VerifyUInt16() публичный Метод

Get an unsigned short integer value for current position plus an offset and does not advance the position.
public VerifyUInt16 ( ) : ushort
Результат ushort
        public ushort VerifyUInt16()
        {
            return BitConverter.ToUInt16(
                this.GetBuffer(),
                (int)this.Position);
        }

Same methods

FastTransferStream::VerifyUInt16 ( int offset ) : ushort

Usage Example

 /// <summary>
 /// Verify that a stream's current position contains a serialized VarPropTypePropValue.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 /// <returns>If the stream's current position contains a serialized VarPropTypePropValue, return true, else false</returns>
 public static new bool Verify(FastTransferStream stream)
 {
     ushort tmp = stream.VerifyUInt16();
     return LexicalTypeHelper.IsVarType((PropertyDataType)tmp)
         || PropValue.IsMetaTagIdsetGiven(stream)
         || LexicalTypeHelper.IsCodePageType(tmp);
 }
All Usage Examples Of MAPIInspector.Parsers.FastTransferStream::VerifyUInt16