M
Magnus
Hi,
I've tried to to a deep copy of an serializable object (generated by
creating a xml Schema and then genrate classes with xsd.exe) using
serialization (xmlSerializer)
When I'm using a memory stream to serialize and deserialize, it fails
when trying to deserialize it (at position {0,0}
But when I'm using a file stream (store the file to c:\temp) and
desierialize it, it works just fine.
Why? Whats wrong with the memory stream? Known serialization bug?
/Magnus
I've tried to to a deep copy of an serializable object (generated by
creating a xml Schema and then genrate classes with xsd.exe) using
serialization (xmlSerializer)
When I'm using a memory stream to serialize and deserialize, it fails
when trying to deserialize it (at position {0,0}
But when I'm using a file stream (store the file to c:\temp) and
desierialize it, it works just fine.
Why? Whats wrong with the memory stream? Known serialization bug?
/Magnus