binaryformatter
Can a IFormatter deserizalize a object of an unreferenced type?
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?[详细]
2022-12-13 14:47 分类:问答BinaryFormatter alternatives
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[详细]
2022-12-11 01:20 分类:问答How to deserialize or recover a binary serialized dictionary that's not finished serializing?
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?[详细]
2022-12-10 01:36 分类:问答How to change the order of Deserialization using BinaryFormatter in C#?
Lets say I have classA which contains classB and both are [Serializable]. I assumed, that on Deserialization classB would be deserialized first.[详细]
2022-12-09 20:57 分类:问答How to increase deserialization speed?
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:[详细]
2022-12-09 15:22 分类:问答