Supose I serialized a third party library type object with BinaryFormatter. An assemby that does not references this library tries to de开发者_开发问答serialize the bytes. Will it work?
A BinaryFormatt开发者_如何学Pythoner-serialized array of 128³ doubles, takes up 50 MB of space. Serializing an array of 128³ structs with two double fields takes up 150 MB and over 20 seconds to pro
When I used my app, on close, it tried to serialize a dictionary that\'s 300 KB. Because of no disk space, it could only write 292 KB. Is there a way to successfully deserialize whatever is in there?
Lets say I have classA which contains classB and both are [Serializable]. I assumed, that on Deserialization classB would be deserialized first.
Serializing/deserializing with BinaryFormatter, resulting serialized file is ~80MB in size. The deserialization takes a few minutes. How could I improve on this? Here\'s the deserialization code: