| Article: |
.NET Serialization, Part 1 | |
| Subject: | MemoryStream.Position | |
| Date: | 2004-03-11 09:12:28 | |
| From: | neofight | |
|
Just wondering - has anyone run into an error when deserializing? After having problems.. I found that I had to set position=0 before attempting to deserialize my object.
|
||
Showing messages 1 through 2 of 2.




During normal operations, this is not a problem because you are writing to one end of a "pipe" with one stream object, and reading from the other end of the "pipe" with another stream object; usually, the ends of the "pipe" are in different processes anyway.