@dcmjs-org/dcmjs 1.0.0-beta.14 → 1.0.0-beta.16

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.
@@ -934,7 +934,7 @@ var DicomMessage = /*#__PURE__*/function () {
934
934
  // issue #93 opt-in: accept preamble-less / meta-less inputs
935
935
  allowMissingHeader: false
936
936
  };
937
- var stream = new ReadBufferStream(buffer, null, {
937
+ var stream = new ReadBufferStream(buffer, {
938
938
  noCopy: options.noCopy
939
939
  }),
940
940
  useSyntax = EXPLICIT_LITTLE_ENDIAN;
@@ -1519,9 +1519,11 @@ var AsyncDicomReader = /*#__PURE__*/function () {
1519
1519
  this.isLittleEndian = options === null || options === void 0 ? void 0 : options.isLittleEndian;
1520
1520
  // Default maxFragmentSize is 128 MB (128 * 1024 * 1024 bytes)
1521
1521
  this.maxFragmentSize = (_options$maxFragmentS = options === null || options === void 0 ? void 0 : options.maxFragmentSize) !== null && _options$maxFragmentS !== void 0 ? _options$maxFragmentS : 128 * 1024 * 1024;
1522
- this.stream = new ReadBufferStream(null, this.isLittleEndian, _objectSpread2({
1522
+ this.stream = new ReadBufferStream(null, _objectSpread2(_objectSpread2({
1523
1523
  clearBuffers: true
1524
- }, options));
1524
+ }, options), {}, {
1525
+ littleEndian: this.isLittleEndian
1526
+ }));
1525
1527
  }
1526
1528
 
1527
1529
  /** Sentinel returned when stream is Part 10 but has no preamble (starts with meta). */
@@ -15830,4 +15832,4 @@ ValueRepresentation.setTagClass(Tag);
15830
15832
  // entries (src/eventStream.js, ...): the default entry is the 0.52 surface.
15831
15833
 
15832
15834
  export { DICOMWEB as D, _inherits as _, _createClass as a, _objectSpread2 as b, _classCallCheck as c, _callSuper as d, _createForOfIteratorHelper as e, datasetToDict as f, _typeof as g, _asyncToGenerator as h, _regeneratorRuntime as i, adapters as j, anonymizer as k, async as l, constants as m, data as n, dcmjs as o, derivations as p, normalizers as q, sr as s, utilities as u };
15833
- //# sourceMappingURL=dcmjs.shared-CP8p6SfT.js.map
15835
+ //# sourceMappingURL=dcmjs.shared-B2D8KPlB.js.map