What is Serialization/Deserialization and marshalling/unmarshalling with example? [closed]
Recently I read about the interface IClonable
and with it the topics of "serialization" and "marshalling." I would like to know what serialization and marshalling are including some examples of each.
Serialize -A process of converting memory object into binary data/text so that it can be stored on disc. Deserialize - the reverse of serialization. A process of taking binary data/text from disk and converting it into object in memory. .Net Example
wikipedia: Serialization
Marshaling - a process of passing data between "program" boundaries, like from managed to unmanaged, from one process to another, etc.
wikipedia: Marshaling
精彩评论