开发者

What is Serialization/Deserialization and marshalling/unmarshalling with example? [closed]

开发者 https://www.devze.com 2023-01-14 11:41 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_StackOverflow中文版 Closed 10 years ago.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消