How deserialize Byte array to object - Windows 8 / WP 8
问题 Hi I use code below to convert object to byte array now I need this byte array convert back to object. Does any one know how to deserialize this in windows 8 app? I find some code but use Serialize and BinaryReader classes and this classes are not in windows 8 or does not know it. Person ps = new Person(); ps.name = "Lucy"; DataContractSerializer serializer = new DataContractSerializer(typeof(List<Dictionary<String, String>>)); byte[] byteArr; using (var ms = new MemoryStream()) { serializer