Petteri Aimonen 39b8a5e2bb Make pb_decode_varint32 a separate implementation.
This avoids doing 64-bit arithmetic for 32-bit varint decodings.
It does increase the code size somewhat.

Results for ARM Cortex-M3: -10% execution time, +1% code size, -2% ram usage.
2013-02-05 22:39:32 +02:00
2012-12-13 21:29:57 +02:00
2012-01-06 19:04:49 +02:00
2012-10-29 19:03:19 +02:00
2012-10-29 19:03:19 +02:00

Nanopb is a small code-size Protocol Buffers implementation.

Homepage: http://kapsi.fi/~jpa/nanopb/

To compile the library, you'll need these libraries:
protobuf-compiler python-protobuf libprotobuf-dev

The only runtime dependencies are memset() and memcpy().

To run the tests, run make under the tests folder.
If it completes without error, everything is fine.
Description
Automatically exported from code.google.com/p/nanopb
Readme 1.2 MiB
Languages
C 71.7%
Python 23.1%
CMake 2.5%
Shell 1.8%
PureBasic 0.4%
Other 0.5%