public async Task ReadInt32_Async() { using (var f = new GenericFile()) { f.CreateFile(new byte[] { 42, 00, 00, 00, 255, 255, 255, 255 }); Assert.AreEqual(42, await f.ReadInt32Async(0)); Assert.AreEqual(-1, await f.ReadInt32Async(4)); } }