mikevoyt / protobuf-embedded-c

Automatically exported from code.google.com/p/protobuf-embedded-c
0 stars 0 forks source link

Support for packed repeated fields #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful to be able to atleast decode packed repeated fields.

repeated int32 field = 1 [packed = true];

To be compatible with protobuf-2.4, decoders should understand packed repeated 
fields on input. This should be recognized based on wire type, regardless 
whether packed = true is defined in .proto or not.

(This problem is not so important to me personally, I just ran into it when 
benchmarking nanopb vs. protobuf-embedded-c and thought I would report it.)

Original issue reported on code.google.com by Petteri.Aimonen on 3 Feb 2013 at 4:38