1#ifndef PROTOZERO_PBF_MESSAGE_HPP
2#define PROTOZERO_PBF_MESSAGE_HPP
67 static_assert(std::is_same<pbf_tag_type, typename std::underlying_type<T>::type>::value,
68 "T must be enum with underlying type protozero::pbf_tag_type");
79 template <
typename... Args>
Definition pbf_message.hpp:65
bool next(T next_tag, pbf_wire_type type)
Definition pbf_message.hpp:163
T enum_type
The type of messages this class will read.
Definition pbf_message.hpp:73
bool next()
Definition pbf_message.hpp:99
T tag() const noexcept
Definition pbf_message.hpp:176
pbf_message(Args &&... args) noexcept
Definition pbf_message.hpp:80
bool next(T next_tag)
Definition pbf_message.hpp:131
Definition pbf_reader.hpp:62
bool next()
Definition pbf_reader.hpp:284
pbf_tag_type tag() const noexcept
Definition pbf_reader.hpp:397
All parts of the protozero header-only library are in this namespace.
Definition basic_pbf_builder.hpp:24
uint32_t pbf_tag_type
Definition types.hpp:33
pbf_wire_type
Definition types.hpp:40
Contains the pbf_reader class.
Contains the declaration of low-level types used in the pbf format.