[Mono-list] BinaryFormatter serialization accross .NET and Mono

Chris Howie cdhowie at gmail.com
Mon Feb 23 04:08:36 EST 2009

On Fri, Feb 6, 2009 at 5:19 PM, schmmd <michael at schmitztech.com> wrote:
> Hi, I am asking to learn if it is a goal of the Mono project to have
> consistent serialization across Mono and .Net with respect to the
> BinaryFormatter.  Serialization is the same in some cases.  For example,
> serialization of a byte array is the same in .NET and Mono.  However,
> serialization of a struct containing a byte array is not.
> [snip]
> Is this a bug or is consistency between .NET and Mono not a goal?

I do not believe it is a very high-priority goal.  You might try the
SoapFormatter class.  It at least produces more readable output so if
there is an issue it's easier to spot, and hence easier for the
developers to fix.

Chris Howie

More information about the Mono-list mailing list