Re: serializable
Chris Wuestefeld <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
Kenneth replies: > How well can you read a C++ binary file in C#? Ummm. What's a "C++ binary file"? As far as I can see, a binary file is a file whose structure and content isn't human-readable but determined by the code that generates (and reads) it. The language of this code doesn't really enter into it, particularly using the SLAR's System.Runtime.Serialization support, which is language-agnostic itself. It seems that the Serialization infrastructure provides all the plumbing I need to build in tolerance for "schema" changes. Rather, it's that infrastructure provided in the SLAR that worries me. It's conceivable that the format that's used internally to record, e.g., the type of a value, could be changed. I'm looking for any statements from Microsoft regarding how stable this is. That is, so long as my application's data structures don't change, would a given serialized file be readable by .Net 1, .Net 2, .Net 3, etc.? Does this answer vary depending on whether the formatter chosen is XML or binary? =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com