nanopb

C library for encoding and decoding Protocol Buffer messages

brewmacoslinux
Try with needOr install directly
Source

About

C library for encoding and decoding Protocol Buffer messages

Commands

nanopb_generatorprotoc

Examples

Generate C code from a Protocol Buffer definition file$ nanopb_generator input.proto
Generate C code with custom nanopb options$ nanopb_generator -D output_dir/ input.proto
Encode and decode protocol buffer messages in C code$ gcc -I$(brew --prefix nanopb)/include myapp.c $(brew --prefix nanopb)/lib/libnanopb.a -o myapp