Open GoogleCodeExporter opened 9 years ago
You can do this manually by creating a new ProtoReader on your stream
specifying the length you want to read, then use the Deserialize overload that
accepts ProtoReader instead of a stream. Is that enough ?
Original comment by marc.gravell
on 8 Feb 2013 at 11:38
Am I looking in the wrong place? I only see one Deserialize overload in
Protobuf.Serializer class, and that overload accepts a stream. I'm looking at
protobuf-net 2.0.0.622
Original comment by igor.babichev
on 9 Feb 2013 at 12:08
You may need to use RuntimeTypeModel.Default.Deserialize - this is the method
that Serializer.Serialize calls.
Original comment by marc.gravell
on 9 Feb 2013 at 1:14
Original issue reported on code.google.com by
igor.babichev
on 8 Feb 2013 at 11:27