@dcmjs-org/dcmjs 1.0.0-beta.15 → 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.
@@ -936,7 +936,7 @@ var DicomMessage = /*#__PURE__*/function () {
936
936
  // issue #93 opt-in: accept preamble-less / meta-less inputs
937
937
  allowMissingHeader: false
938
938
  };
939
- var stream = new core.ReadBufferStream(buffer, null, {
939
+ var stream = new core.ReadBufferStream(buffer, {
940
940
  noCopy: options.noCopy
941
941
  }),
942
942
  useSyntax = core.EXPLICIT_LITTLE_ENDIAN;
@@ -1521,9 +1521,11 @@ var AsyncDicomReader = /*#__PURE__*/function () {
1521
1521
  this.isLittleEndian = options === null || options === void 0 ? void 0 : options.isLittleEndian;
1522
1522
  // Default maxFragmentSize is 128 MB (128 * 1024 * 1024 bytes)
1523
1523
  this.maxFragmentSize = (_options$maxFragmentS = options === null || options === void 0 ? void 0 : options.maxFragmentSize) !== null && _options$maxFragmentS !== void 0 ? _options$maxFragmentS : 128 * 1024 * 1024;
1524
- this.stream = new core.ReadBufferStream(null, this.isLittleEndian, _objectSpread2({
1524
+ this.stream = new core.ReadBufferStream(null, _objectSpread2(_objectSpread2({
1525
1525
  clearBuffers: true
1526
- }, options));
1526
+ }, options), {}, {
1527
+ littleEndian: this.isLittleEndian
1528
+ }));
1527
1529
  }
1528
1530
 
1529
1531
  /** Sentinel returned when stream is Part 10 but has no preamble (starts with meta). */
@@ -15852,4 +15854,4 @@ exports.derivations = derivations;
15852
15854
  exports.normalizers = normalizers;
15853
15855
  exports.sr = sr;
15854
15856
  exports.utilities = utilities;
15855
- //# sourceMappingURL=dcmjs.shared-DI53lI_H.cjs.map
15857
+ //# sourceMappingURL=dcmjs.shared-D1MD8zKQ.cjs.map