dwv 0.35.0-beta.3 → 0.35.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dwv.d.ts CHANGED
@@ -1431,12 +1431,20 @@ export declare class DicomParser {
1431
1431
  [x: string]: DataElement;
1432
1432
  };
1433
1433
  /**
1434
- * Parse the complete DICOM file (given as input to the class).
1434
+ * Safely get an elements' first value from the parsed elements.
1435
+ *
1436
+ * @param {string} key The tag key as for example '00100020'.
1437
+ * @returns {any|undefined} The elements' value or undefined.
1438
+ */
1439
+ safeGet(key: string): any | undefined;
1440
+ /**
1441
+ * Parse a DICOM buffer.
1435
1442
  * Fills in the member object 'dataElements'.
1436
1443
  *
1437
1444
  * @param {ArrayBuffer} buffer The input array buffer.
1445
+ * @param {Tag} [untilTag] Optional tag to stop the parsing once reached.
1438
1446
  */
1439
- parse(buffer: ArrayBuffer): void;
1447
+ parse(buffer: ArrayBuffer, untilTag?: Tag): void;
1440
1448
  #private;
1441
1449
  }
1442
1450