public ulong ReadUInt64() { byte[] buffer = new byte[8]; this.Read(buffer, 0, buffer.Length); return BitConverter.ToUInt64(buffer, 0); }