Microsoft.Protocols.TestSuites.Common.BufferReader.ReadInt64 C# (CSharp) Method

ReadInt64() public method

Reads an 8-byte signed integer from the current position and advances the current position of the buffer by 8 bytes.
public ReadInt64 ( ) : long
return 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);
        }