Skip to content
/ libpb Public

A small code-size Protocol Buffers implementation

License

MIT, Zlib licenses found

Licenses found

MIT
LICENSE
Zlib
LICENSE.nanopb
Notifications You must be signed in to change notification settings

wangeguo/libpb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libpb is a small code-size Protocol Buffers implementation, 
Licensed under the MIT license (see LICENSE), and Based on 
nanopb (Homepage: http://kapsi.fi/~jpa/nanopb/ License: zlib).

Changes:
 - Replaced "import nanopb.proto" with "import pb.proto" in .proto file if you need.
 - Rename "nanopb" ext to "pb", eg: required string number = 1 [(pb).max_size = 40];
 - Rename nanopb_generator.py to pbgen.py
See tests and exmple to learn more.

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

Install libpb is simple:
make
sudo make install

To run the tests, run make under the tests folder.
If it completes without error, everything is fine.

About

A small code-size Protocol Buffers implementation

Resources

License

MIT, Zlib licenses found

Licenses found

MIT
LICENSE
Zlib
LICENSE.nanopb

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy