re: protobuf-net 480 for .net 4 - objects in a IList I serialize have all members serialized to 0

58 views
Skip to first unread message

costa

unread,
Feb 28, 2012, 3:48:48 PM2/28/12
to Protocol Buffers
Have you seen this?

The list is an IList<TestClass> where TestClass has the ProtoContract
attribute and all its members have the ProtoMember attribute.

When I serialize it the bin file contains only 0A 00 bytes. When I
deserialize it all objects have the members set to 0.

What am I doing wrong?

Marc Gravell

unread,
Mar 8, 2012, 1:57:34 AM3/8/12
to costa, Protocol Buffers
Sorry, I didn't see this at the time - do you have any kind of concrete, reproducible example here?

Marc


--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.




--
Regards,

Marc
Reply all
Reply to author
Forward
0 new messages