denghongcai / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

Deserialize without knowing the object type #368

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I'm using Windows Azure distributed cache service and I would like to implement 
custom object serializer using protobuf-net.
However, this seems impossible because you don't have the object type when 
calling for deserialization - you only get the stream.
(more info can be found here: 
http://msdn.microsoft.com/en-us/library/windowsazure/hh552969.aspx).

Is it possible to include the object type in the serialization process?

Regards,
Ran Mizrachi

Original issue reported on code.google.com by Mizrachi...@gmail.com on 9 Apr 2013 at 11:23