Beispiel #1
0
        public void TestBinaryUtility()
        {
            var helloWorld = new HelloWorld {
                Greeting = "Hello World!"
            };
            var helloWorldBinary = BinaryUtility.Serialize(helloWorld);

            Assert.AreEqual("Hello World!", BinaryUtility.Deserialize <HelloWorld>(helloWorldBinary).Greeting);
        }