1 #ifndef PROTOZERO_TYPES_HPP 2 #define PROTOZERO_TYPES_HPP 56 return (static_cast<uint32_t>(static_cast<pbf_tag_type>(tag)) << 3u) |
static_cast<uint32_t
>(wire_type);
66 #endif // PROTOZERO_TYPES_HPP constexpr uint32_t tag_and_type(T tag, pbf_wire_type wire_type) noexcept
Definition: types.hpp:55
Contains macro checks for different configurations.
pbf_wire_type
Definition: types.hpp:40
uint32_t pbf_length_type
Definition: types.hpp:62
uint32_t pbf_tag_type
Definition: types.hpp:33
All parts of the protozero header-only library are in this namespace.
Definition: byteswap.hpp:23