Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protozero

Package Overview
Dependencies
Maintainers
42
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protozero - npm Package Versions

1.5.1

Diff

Changelog

Source

[1.5.1] - 2017-01-14

Added

  • Better documentation for tag_and_type() in doc/advanced.md.

Fixed

  • Fixed broken "make doc" build.
joto
published 1.5.0 •

Changelog

Source

[1.5.0] - 2017-01-12

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.
joto
published 1.4.5 •

Changelog

Source

[1.4.5] - 2016-11-18

Fixed

  • Undefined behaviour in packed fixed iterator. As a result, the macro PROTOZERO_DO_NOT_USE_BARE_POINTER is not used any more.
joto
published 1.4.4 •

Changelog

Source

[1.4.4] - 2016-11-15

Fixed

  • Byteswap implementation.
joto
published 1.4.3 •

Changelog

Source

[1.4.3] - 2016-11-15

Fixed

  • Undefined behaviour in byte swapping code.
  • Rename some parameters to avoid "shadow" warning from some compilers.
joto
published 1.4.2 •

Changelog

Source

[1.4.2] - 2016-08-27

Fixed

  • Compile fix: Variable shadowing.
springmeyer
published 1.4.1 •

Changelog

Source

[1.4.1] - 2016-08-21

Fixed

  • GCC 4.8 compile fixed

Added

  • New ability to dynamically require the module as a node module to ease building against from other node C++ modules.
springmeyer
published 1.4.0 •

Changelog

Source

[1.4.0] - 2016-07-22

Changed

  • Use more efficient new skip_varint() function when iterating over packed varints.
  • Split decode_varint() function into two functions speeding up the common case where a varint is only one byte long.
  • Introduce new class iterator_range used instead of std::pair of iterators. This way the objects can be used in range-based for loops. Read UPGRADING.md for details.
  • Introduce new class data_view and functions using and returning it. Read UPGRADING.md for details.
springmeyer
published 1.3.0 •

Changelog

Source

[1.3.0] - 2016-02-18

Added

  • Added config.hpp header which now includes all the macro magic to configure the library for different architectures etc.
  • New way to create repeated packed fields without using an iterator.
  • Add rollback() function to pbf_writer for "manual" rollback.

Changed

  • Various test and documentation cleanups.
  • Rename pbf_types.hpp to types.hpp.
springmeyer
published 1.2.3 •

Changelog

Source

[1.2.3] - 2015-11-30

Added

  • Added config.hpp header which now includes all the macro magic to configure the library for different architectures etc.

Fixed

  • Unaligned access to floats/doubles on some ARM architectures.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc