Object Serialization
Object serialization is the process of rendering an object into a state that can be stored persistently. The Java platform has included serialization support since version 1.1, and while there have been additional enhancements, the model has proved sufficiently flexible to meet the needs of most developers.
In .NET, the way in which serialized data is stored is controlled by formatters, which are classes that implement the System.Runtime.Serialization.IFormatter interface. Two implementations are available in the .NET Framework:
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
System.Runtime.Serialization.Formatters.Soap.SoapFormatter
The BinaryFormatter produces a compact and efficient binary representation of the ...
Get C# for Java Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.