Skip to content

Library for serializing protobuf objects - C/C++ version

License

Notifications You must be signed in to change notification settings

fabgeyer/pbzlib-c-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library for serializing protobuf objects - C/C++ version

This library is used for simplifying the serialization and deserialization of protocol buffer objects to/from files. The main use-case is to save and read a large collection of objects of the same type. Each file contains a header with the description of the protocol buffer, meaning that no compilation of .proto description file is required before reading a pbz file.

WARNING: This library is currently in alpha state. Read/write supported in C++. Read-only for the C version.

Usage

Just include the pbzfile.h header in your code:

#include "pbzfile.h"

Examples of reading and writing files are available in tests.cc. To compile it use the Makefile.

Installation

For the C version:

# apt install libprotobuf-c-dev

For the C++ version:

# apt install libprotobuf-dev

Versions in other languages

About

Library for serializing protobuf objects - C/C++ version

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published