[protobuf] Re: Retrieving data with field number and wire type

2009-11-10 Thread Evan Jones
On Nov 10, 2009, at 9:25 , rahul prasad wrote: Is there a facility in protobuf library to retrieve data if the field numbers and wire types are known? If so how to go about this? If you don't want to use the generated code that handles this for you for some reason, you want to look at

[protobuf] Re: Retrieving data with field number and wire type

2009-11-10 Thread Kenton Varda
On Tue, Nov 10, 2009 at 6:25 AM, rahul prasad rahu...@gmail.com wrote: Hi, Is there a facility in protobuf library to retrieve data if the field numbers and wire types are known? Write a .proto file with that information. Then you can compile it, or you can use protoc's --decode flag. If