readLongZigZag method

int readLongZigZag()

Implementation

int readLongZigZag() {
  int value = readLong();
  return (value >> 1) ^ (-(value & 1));
}