Microsoft.Protocols.TestSuites.Common.BufferReader.ReadInt64 C# (CSharp) Méthode

ReadInt64() public méthode

Reads an 8-byte signed integer from the current position and advances the current position of the buffer by 8 bytes.
public ReadInt64 ( ) : long
Résultat long
        public long ReadInt64()
        {
            long low = this.ReadInt32();
            long high = this.ReadInt32();

            // 0x100000000 is 2 raised to the 32th power plus 1
            return (long)((high * 0x100000000) + low);
        }