2

Possible Duplicate:
Deserialize unknown type with protobuf-net

In protobuf-net, how do I deserialize an unknown type?

Off the wire, I get a byte array but I don't know the type yet.

I was hoping to return object and test with Object MyType but the below doesn't work.

object obj = Serializer.Deserialize<object>(new MemoryStream(cellUpdate.Payload));

Community
  • 1
  • 1
JamesRedcoat
  • 2,083
  • 2
  • 15
  • 13

0 Answers0