summaryrefslogtreecommitdiffstats
path: root/ext/protozero/include/protozero/pbf_builder.hpp
blob: 71a2dec2bd13f1eb59c47dd4e12d59609130ba05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef PROTOZERO_PBF_BUILDER_HPP
#define PROTOZERO_PBF_BUILDER_HPP

/*****************************************************************************

protozero - Minimalistic protocol buffer decoder and encoder in C++.

This file is from https://github.com/mapbox/protozero where you can find more
documentation.

*****************************************************************************/

/**
 * @file pbf_builder.hpp
 *
 * @brief Contains the pbf_builder template class.
 */

#include "basic_pbf_builder.hpp"
#include "pbf_writer.hpp"

#include <string>

namespace protozero {

/// Specialization of basic_pbf_builder using std::string as buffer type.
template <typename T>
using pbf_builder = basic_pbf_builder<std::string, T>;

} // end namespace protozero

#endif // PROTOZERO_PBF_BUILDER_HPP