protozero v1.5.0 Release Notes

Release Date: 2017-01-12 // over 7 years ago
  • โž• Added

    • Add add_bytes_vectored() methods to pbf_writer and pbf_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() and pbf_reader::tag_and_type() can be used together with the free function tag_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 with pbf_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.