public void ReadInt64BigEndian_Offset() { using (var f = new GenericFile()) { f.CreateFile(new byte[] { 00, 00, 00, 00, 00, 00, 00, 42, 255, 255, 255, 255, 255, 255, 255, 255 }); Assert.AreEqual(42, f.ReadInt64BigEndian(0)); Assert.AreEqual(-1, f.ReadInt64BigEndian(8)); } }