get_recorded_values(unconverted) {
    const result = [];
    const num_records = this._num_records;

    if (num_records > 0) {
      const buffer_interface = this._buffer_interface;
      if (unconverted) {
        // raw
        for (var i = 0; i < num_records; i++) {
          result.push(buffer_interface[i]);
        }
      } else {
        // converted
        for (var i = 0; i < num_records; i++) {
          result.push(this._converter(buffer_interface[i]));
        }
      }
    }

    return result;
  }
Returns an array of all recorded values.
@param {Boolean} [unconverted=false] whether to get the raw recorded values
@returns {Array}