If I add [packed=true] as you mentioned, I get the following error: ...[packed = true] can only be specified for repeated primitive fields.
I guess packed=true only works with primitive fields. On Aug 17, 8:53 pm, Kenton Varda <[email protected]> wrote: > BTW > > On Tue, Aug 17, 2010 at 8:51 AM, nirajshr <[email protected]> wrote: > > repeated DoubleData bucketDouble = 2; > > You should declare this field "packed": > > repeated DoubleData bucketDouble = 2 [packed=true]; > > This will improve efficiency on the wire. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
