Ejemplo n.º 1
0
 public async Task ReadInt64_Async()
 {
     using (var f = new GenericFile())
     {
         f.CreateFile(new byte[] { 42, 00, 00, 00, 00, 00, 00, 00, 255, 255, 255, 255, 255, 255, 255, 255 });
         Assert.AreEqual(42, await f.ReadInt64Async(0));
         Assert.AreEqual(-1, await f.ReadInt64Async(8));
     }
 }