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