Skip to content

Version 1.6.4

Compare
Choose a tag to compare
@joto joto released this 08 Nov 09:51
· 112 commits to master since this release

Added

  • Add function data() to get the not yet read data from a pbf_reader.
  • New add_packed_fixed() template function for pbf_writer.
  • New length_of_varint() helper function calculates how long a varint would be for a specified value.

Changed

  • More consistent implementation of operators as free friend functions.

Fixed

  • Fixed some zigzag encoding tests on MSVC.
  • Add extra cast so we do an xor with unsigned ints.
  • No more bitwise operations on signed integers in varint decoder.
  • No more bitwise operations on signed integers in zigzag encoder/decoder.