public async Task WriteUInt64_Async() { using (var f = new GenericFile()) { f.CreateFile(new byte[16]); await f.WriteUInt64Async(0, 42); await f.WriteUInt64Async(8, UInt64.MaxValue); Assert.IsTrue((new byte[] { 42, 00, 00, 00, 00, 00, 00, 00, 255, 255, 255, 255, 255, 255, 255, 255 }).SequenceEqual(f.Read())); } }