[protobuf] Re: Issue 689 in protobuf: Repeated fields do not serialize the 'size' into the file. Hence deserialize of repeated expects an unending sequence of repeated fields

2015-03-11 Thread protobuf
Comment #4 on issue 689 by narayan@gmail.com: Repeated fields do not serialize the 'size' into the file. Hence deserialize of repeated expects an unending sequence of repeated fields https://code.google.com/p/protobuf/issues/detail?id=689 Looks likeit. -- You received this message beca

[protobuf] Re: Issue 472 in protobuf: C++ Versions of ParseDelimitedFrom & writeDelimitedTo

2015-03-11 Thread protobuf
Comment #2 on issue 472 by narayan@gmail.com: C++ Versions of ParseDelimitedFrom & writeDelimitedTo https://code.google.com/p/protobuf/issues/detail?id=472 Well, WriteVarint32 may not be sufficient since size_t is actually 64 bit in modern computers, though in practice, it is least like

[protobuf] Re: Issue 689 in protobuf: Repeated fields do not serialize the 'size' into the file. Hence deserialize of repeated expects an unending sequence of repeated fields

2015-03-11 Thread protobuf
Comment #3 on issue 689 by dwah...@gmail.com: Repeated fields do not serialize the 'size' into the file. Hence deserialize of repeated expects an unending sequence of repeated fields https://code.google.com/p/protobuf/issues/detail?id=689 It sounds like you're looking for the Message.writeD

Re: [protobuf] gRPC: Google's RPC framework that works with Protocol Buffers

2015-03-11 Thread 'Feng Xiao' via Protocol Buffers
On Wed, Mar 11, 2015 at 11:30 AM, Michael Haberler wrote: > Feng, > > > Am 11.03.2015 um 02:08 schrieb Feng Xiao : > > > > In case you are not yet aware of: Google has open-sourced its own RPC > framework, named gRPC, about two weeks ago. > > > > gRPC website: http://www.grpc.io/ > > > > It's bas

Re: [protobuf] Message was missing required fields

2015-03-11 Thread Patrick Linehan
Sorry, I spoke imprecisely. I did not actually modify the compiler, I just run the resultant code through sed to make some fixups. In the case where you _do_ have required fields, however, there is additional code in this function which sometimes sets the field to zero, so such a simple sed so

[protobuf] Re: Issue 689 in protobuf: Repeated fields do not serialize the 'size' into the file. Hence deserialize of repeated expects an unending sequence of repeated fields

2015-03-11 Thread protobuf
Comment #2 on issue 689 by narayan@gmail.com: Repeated fields do not serialize the 'size' into the file. Hence deserialize of repeated expects an unending sequence of repeated fields https://code.google.com/p/protobuf/issues/detail?id=689 Thank you for the response. This is what I am do