[Mono-list] Serialization
A Rafael D Teixeira
rafaelteixeirabr@hotmail.com
Mon, 26 Nov 2001 09:39:57 -0200
You donīt have to implement anything unless you want to provide special
handling, mostly for performance issues, like compressing/decompressing or
recalculating private data, or to serialize private data.
Default serialization is done by Reflection, and does not matter if it will
be done via a binary or a XML stream. The catch here is you MUST provide a
public parameterless constructor, and make public all fields that you need
to be serialized (transported not re-computed).
Rafael Teixeira
Brazilian Developer
>From: "Gaurav Vaish" <gvaish@iitk.ac.in>
>To: <mono-list@ximian.com>
>Subject: [Mono-list] Serialization
>Date: Sat, 24 Nov 2001 20:39:42 +0530
>
>Hello,
> Is making a class "[ Serializable ]" exactly same as implementing
>Serializable class in java?
> If yes, what are the methods that my class must "override" or
>"implement" for seriazation and deserialization?
>
>
>Cheers,
>Gaurav Vaish
>[ Trying to Maintain: System.Web.UI.WebControls ]
>----------------------------
>
>
>
>
>_______________________________________________
>Mono-list maillist - Mono-list@ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp