code: private void reset() {
      size = 0;
      qualifier_index = 0;
      value_index = 0;
      base_time = Long.MIN_VALUE;
      last_timestamp = Long.MIN_VALUE;
    }
docs: Resets the indices without overwriting the buffers. So the same amount of
  space will remain allocated.