[protobuf] repeated field problem with protobuf-net (other side: java protobuf)

2012-06-18 Thread 13Homer
proto file: package nemesis; option java_package = IQFeedServer.protobuf; option java_outer_classname = Protos; option optimize_for = SPEED; message V3DDelta { optional int32 bid = 1; optional int32 bidSize = 2; optional int32 ask = 3; optional int32 askSize = 4; } message Request

Re: [protobuf] repeated field problem with protobuf-net (other side: java protobuf)

2012-06-18 Thread Marc Gravell
I answered this at stackoverflow (http://stackoverflow.com/a/11083229/23354) The main problem was the data-types in V3DDelta not matching the contract (note: there are tools for generating classes from a .proto definition). The particular code for reading the data stored via writeDelimitedTo