Re: Serialize with Length Prefix

2009-08-25 Thread Marc Gravell
Just to offer my thanks as well, since I was offline at the time and unable to help. Regards, Marc Gravell (protobuf-net) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this gr

C++ compilation errors when using extensions

2009-08-25 Thread Jesper Eskilson
I'm getting a C++ template error message I'm having trouble understanding. I have two .proto files, one called "cdp.proto" which defines ServiceCommand: message ServiceCommand { ... extensions 200 to max; } This is then extended in "libsupport.proto", like this: message LibSupportMessage {

Re: C++ compilation errors when using extensions

2009-08-25 Thread Jesper Eskilson
On Tue, Aug 25, 2009 at 10:51 AM, Jesper Eskilson wrote: > I'm getting a C++ template error message I'm having trouble > understanding. I have two .proto files, one called "cdp.proto" which > defines ServiceCommand: Problem solved. I realized that I need to use the GenericExtension() method just

Using Message::ParseFromBoundedZeroCopyStream() over network streams

2009-08-25 Thread Srinivas G
Currently Message::ParseFromBoundedZeroCopyStream() doesn't guarantee that it will never attempt to read beyond the specified size. I have seen cases where a Next() is issued on the underlying stream, after the message has been successfully parsed, and the limit is hit. There is an implicit assu

Re: C++ compilation errors when using extensions

2009-08-25 Thread Kenton Varda
You mean MutableExtension()? Yes, you can't use SetExtension() on message-typed extensions because regular fields of message type don't have a set_foo() accessor. So, you must use MutableExtension() instead. On Tue, Aug 25, 2009 at 5:34 AM, Jesper Eskilson wrote: > > On Tue, Aug 25, 2009 at 10

Make an extra $400 Daily With Ultimate System

2009-08-25 Thread jerlene coover
You can easily make an extra.$400 DAILY .DIRECTLY TO YOUR PAYPAL ACCOUNT! http://www.easyinternetbiz.net/index.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send