[protobuf] Re: Issue 266 in protobuf: Protoc generates unused variable in Java for protobuf with single repeated field

2013-04-25 Thread protobuf
Comment #4 on issue 266 by nachaish...@gmail.com: Protoc generates unused variable in Java for protobuf with single repeated field http://code.google.com/p/protobuf/issues/detail?id=266 Is this issue fixed yet? -- You received this message because this project is configured to send all iss

[protobuf] Re: Using bytes field to transfer a structure over the wire

2013-04-25 Thread Oliver Wang
never mind, this is due to a bug in my own code, silly me. Oliver On Thursday, April 25, 2013 3:52:43 PM UTC-4, Oliver Wang wrote: > > hi, > > I am trying to transfer a C structure, say "struct stat" over the wire > via protobuf and ran into a strange issue. I define the message as: > > messa

[protobuf] Using bytes field to transfer a structure over the wire

2013-04-25 Thread Oliver Wang
hi, I am trying to transfer a C structure, say "struct stat" over the wire via protobuf and ran into a strange issue. I define the message as: message FileStat { optional bytes stat = 1; ... } On the sender side, I fill in the data as the following (with C++ interface) FileStat fs; st

Re: [protobuf] Have issues on the design of protocol buffers...

2013-04-25 Thread Christian Gross
Thank-you On Thursday, April 25, 2013 9:40:39 AM UTC+2, Oliver wrote: > > On Thu, Apr 25, 2013 at 2:13 AM, Christian Gross > > > wrote: > >> So I am trying to wrap my head around protocol buffers and used it for a >> few tests, however, I found it problematic in my case for the following >> re

Re: [protobuf] Have issues on the design of protocol buffers...

2013-04-25 Thread Oliver Jowett
On Thu, Apr 25, 2013 at 2:13 AM, Christian Gross wrote: > So I am trying to wrap my head around protocol buffers and used it for a > few tests, however, I found it problematic in my case for the following > reasons: > > 1) Creating a multi message end point by mocking unions using optional > types