Re: [protobuf] Can I decode the message just base on a binary block?

2013-06-14 Thread Christopher Head
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 You could check whether the bytes inside are a structurally valid protobuf message (that is, a list of tags and values). If yes, then it is very likely either a nested message (or possibly a bytes field initialized with a serialized message, but do y

[protobuf] lite and full version

2013-06-14 Thread Giri Guntipalli
what is the best way to write .proto files which can be used with prtobuf lite(small foot print devices) and protobuf (PC) i know one option by using file options, that requires proto file modification for different version (lite and full) libraries, i am looking for possible solution wich avoi

[protobuf] Issue 521 in protobuf: [Patch] Fix short repeated format parsing error for protobuf-2.5.0-python

2013-06-14 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 521 by zwx...@gmail.com: [Patch] Fix short repeated format parsing error for protobuf-2.5.0-python http://code.google.com/p/protobuf/issues/detail?id=521 protobuf-python cannot parse the short repeated text fo

Re: [protobuf] [Patch] Fix short repeated format parsing error for protobuf-2.5.0-python

2013-06-14 Thread Zhiwei Xiao
Issue created https://code.google.com/p/protobuf/issues/detail?id=521&thanks=521&ts=1371274396 Thanks. --- Zhiwei Xiao On Fri, Jun 14, 2013 at 1:19 AM, Feng Xiao wrote: > Thanks. Could you create an issue here: > https://code.google.com/p/protobuf/issues/list and attach the patch file? > Also