BSD Ports

devel/protozero 1.7.0p2 OpenBSD

minimalist protocol buffer decoder and encoder in C++

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel

Description

Protozero is a minimalistic protocol buffer decoder and encoder in C++.

Designed for high performance. Suitable for writing zero copy parsers and encoders with minimal need for run-time allocation of memory.

Low-level: this is designed to be a building block for writing a very customized decoder for a stable protobuf schema. If your protobuf schema is changing frequently or lazy decoding is not critical for your application then this approach offers no value: just use the C++ API that can be generated with the Google Protobufs 'protoc' program.

In the other systems

SystemPortVersion
OpenBSDdevel/protozero1.7.0p2
FreeBSDdevel/protozero1.8.2
DragonFlydevel/protozero1.8.0
HardenedBSDdevel/protozero1.8.2
GhostBSDdevel/protozero1.8.2

Install

Binary package:

pkg_add protozero

From the ports tree:

cd /usr/ports/devel/protozero && make install

Dependencies

Build dependencies 3