When I set [packed = true] on a nested message field, I receive this error:

[packed = true] can only be specified for repeated primitive fields.

I wonder why it is disallowed. The output for packed nested field list as
the below:

The field number and wire type LENGTH_DELIMITED.
> Length of all elements.
> Length of the first element.
> Content of the first element.
> Length of the second element.
> Content of the second element.
Length of the nth element.
> Content of the nth element.
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.

Reply via email to