public void TestProcessXorValue()
        {
            ProcessXorValue r = ProcessXorValue.FromFile(SourceFile("process_xor_1.bin"));

            Assert.AreEqual(r.Key, 0xff);
            Assert.AreEqual(System.Text.Encoding.UTF8.GetString(r.Buf), "foo bar");
        }
        public void TestProcessXorValue()
        {
            var r = ProcessXorValue.FromFile(SourceFile("process_xor_1.bin"));

            Assert.AreEqual(r.Key, 255);
            Assert.AreEqual(r.Buf, new byte[] { 102, 111, 111, 32, 98, 97, 114 });
        }