Registry / serialization / protozero

protozero

JSON →
library1.8.0vcpkgunverified

Minimalist protocol buffer decoder and encoder in C++.

vcpkg install protozero
INSTALL
IMPORT
SIG · PROTOZERO
P
protozero
serializationcppv1.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

protozero/pbf_reader.hpp
#include <protozero/pbf_reader.hpp>

Read a protobuf message using protozero

#include "protozero/pbf_reader.hpp" #include <string> int main() { std::string data = "..."; protozero::pbf_reader message(data); while (message.next()) { if (message.tag() == 1) { auto val = message.get_int32(); } } return 0; }
Debug
Known issues
gotchaProtozero is header-only but requires C++11 or later.
fix
Ensure your compiler supports C++11 or higher.
affects: all
Upgrade
Version history
1.8.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

protozero — pip install protozero · libregistry