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); }