protozero v1.5.0 Release Notes
Release Date: 2017-01-12 // over 7 years ago-
โ Added
- Add
add_bytes_vectored()
methods topbf_writer
andpbf_builder
. This allows single-copy scatter-gather type adding of data that has been prepared in pieces to a protobuf message. - ๐ New functions to check the tag and wire type at the same time: Two parameter
version of
pbf_reader::next()
andpbf_reader::tag_and_type()
can be used together with the free functiontag_and_type()
to easily and quickly check that not only the tag but also the wire type is correct for a field.
๐ Changed
packed_field_*
classes now work withpbf_builder
.- ๐ Reorganized documentation. Advanced docs are now under doc/advanced.md.
๐ Fixed
packed_field
class is now non-copyable because data can get corrupted if you copy it around.- Comparison operators of
data_view
now have const& parameters. - ๐ Make zigzag encoding/decoding functions constexpr.
- Add