i am trying to build a chat! now my goal is to receive input from the user, (which will be fed to a function in a class), save it and send the object to the user over the net.
what is Exception \"End of Stream encountered before parsing was completed.\" in the my code? BinaryFormatter t = new BinaryFormatter();
I was going through articles to understand more about the datacontractserializer and binaryformatter serializers. Based on the reading done so far I was under the impression that binaryformatter shoul
I am trying to convert a retrieved registry value from object to byte[]. It is stored as REG_BINARY. I tr开发者_StackOverflowied using BinaryFormatter with MemoryStream. However, it adds overhead info
I am using the BinaryFormatter and a MemoryStream to serialize an object and then store it in a database as a binary blob.I then retrieve the data from the database and deserialize using binaryformatt
NOTE: This question changed a little as I learned more about the problem, so please read it in its entirety. I\'ve decided to leave it in its original form as it better describes how the problem was d
I am using BinaryFormatter开发者_JAVA技巧 to serialize an array of class instances to a file. I can deserialize this fine within the same application. When I try the same deserialization in a differen
I want to serialize an object and send it over the network. I have set it up using ISerializeable attribute on my class and BinaryFormatter to convert the object to bytes. I can send the object and de
We use BinaryFormatter in a C# game, to save user game progress, game levels, etc. We are running into the problem of backwards compatibility.
I have a C# class that is serialized to disk by the BinaryFormatter, such as this example: // Version 3.0