Protocol buffer message to and from an XPathDocument?

The only time you use protobuf here is: x. Serialize(w, xmlDoc); memoryStream. Position = 0; t = Serializer.

Deserialize(memoryStream); where you have written xml (x is an XmlSerializer), and then attempted to read it via protobuf (Serializer. Deserialize). However; protobuf is not xml; it is a binary format completely unrelated to xml.

If your intention is to deep-clone the data, you should also serialize with protobuf-net (Serializer. Serialize). It is often possible to convert a model between the two formats, but the streams themselves are not swappable.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions