The packed option is specified in the FieldOptions proto:
const FieldDescriptor* f = ...;
if (f->options().packed()) {
// field is packed
}
On Mon, Apr 26, 2010 at 2:29 PM, adamdms <[email protected]>wrote:
> how to check whether the field / expansion (FieldDescriptor *) is
> repeated with "packed = true" option?
>
> --
> 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]<protobuf%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>
--
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.