extensions/xnat/src/utils/IO/classes/RTStructReader.js
/**
   * _getdataSet - Gets the dataSet from the RTSTRUCT file.
   *
   * @param  {ArrayBuffer} rtStructArrayBuffer The RTSTRUCT file.
   * @returns {object}  The dataset.
   */
Gets the dataSet from the RTSTRUCT file.
Gets the dataSet from the RTSTRUCT file .
_getdataSet(rtStructArrayBuffer) {
    let byteArray = new Uint8Array(rtStructArrayBuffer);
    let dataSet = null;
    try {
      dataSet = dicomParser.parseDicom(byteArray);
    } catch (err) {
      console.error(err.message);
    }
    return dataSet;
  }
_getdataSet ( rtStructArrayBuffer ) { let byteArray = new Uint8Array ( rtStructArrayBuffer ) ; let dataSet = null ; try { dataSet = dicomParser . parseDicom ( byteArray ) ; } catch ( err ) { console . error ( err . message ) ; } return dataSet ; }
_getdataSet - Gets the dataSet from the RTSTRUCT file.
_getdataSet - Gets the dataSet from the RTSTRUCT file .