示例#1
0
        public void TestEmptyArrays()
        {
            Tst t = new Tst();

            t.ValInt    = 128;
            t.Str1      = "SOme string text value ttt";
            t.ArrayData = new byte[] { };

            MemoryStream stm = new MemoryStream();

            Serializer.Serialize(stm, t);
            Console.WriteLine(stm.Length);
        }