readZigZag method

int readZigZag()

Implementation

int readZigZag() {
  var zigzag = reader.getVarint();
  var value = (zigzag >> 1) ^ -(zigzag & 1);
  return value;
}