@flywheel-io/fw-file-rs 0.5.3 → 0.6.1
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/dcm/dcm.d.ts +10 -7
- package/dcm/dcm.js +107 -95
- package/dcm/dcm_bg.wasm +0 -0
- package/dcm/dcm_bg.wasm.d.ts +8 -7
- package/package.json +1 -1
package/dcm/dcm.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ export function get_fw_meta(path_meta_pairs: any, arg1: any): any;
|
|
|
44
44
|
|
|
45
45
|
export function group_series(path_meta_pairs: any, group_by_tags: any, split_localizer: boolean): any;
|
|
46
46
|
|
|
47
|
+
export function is_dicom_part10(file: File): Promise<boolean>;
|
|
48
|
+
|
|
47
49
|
export function parse_header(bytes: Uint8Array, include_tags?: string[] | null): any;
|
|
48
50
|
|
|
49
51
|
export function read_until_pixels(file: File, stop_tags: any, max_size?: number | null): Promise<Uint8Array>;
|
|
@@ -71,18 +73,19 @@ export interface InitOutput {
|
|
|
71
73
|
readonly context_split_localizer: (a: number, b: number) => number;
|
|
72
74
|
readonly context_stop_at_tags: (a: number, b: any) => [number, number, number];
|
|
73
75
|
readonly context_new: () => number;
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
+
readonly __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
|
|
77
|
+
readonly group_series: (a: any, b: any, c: number) => any;
|
|
76
78
|
readonly create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
79
|
+
readonly is_dicom_part10: (a: any) => any;
|
|
77
80
|
readonly read_until_pixels: (a: any, b: any, c: number) => any;
|
|
78
81
|
readonly __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
79
|
-
readonly __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
|
|
80
82
|
readonly deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
|
|
81
83
|
readonly deidprofile_from_yaml: (a: number, b: number) => [number, number, number];
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
84
|
+
readonly get_fw_meta: (a: any, b: any) => [number, number, number];
|
|
85
|
+
readonly parse_header: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
86
|
+
readonly wasm_bindgen__closure__destroy__h137e736e2a3531af: (a: number, b: number) => void;
|
|
87
|
+
readonly wasm_bindgen__convert__closures_____invoke__h87c2cee7fa035307: (a: number, b: number, c: any) => [number, number];
|
|
88
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b186e11ef6abd41: (a: number, b: number, c: any, d: any) => void;
|
|
86
89
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
87
90
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
88
91
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/dcm/dcm.js
CHANGED
|
@@ -149,7 +149,7 @@ export class Context {
|
|
|
149
149
|
return Context.__wrap(ret);
|
|
150
150
|
}
|
|
151
151
|
constructor() {
|
|
152
|
-
const ret = wasm.
|
|
152
|
+
const ret = wasm.context_new();
|
|
153
153
|
this.__wbg_ptr = ret >>> 0;
|
|
154
154
|
ContextFinalization.register(this, this.__wbg_ptr, this);
|
|
155
155
|
return this;
|
|
@@ -316,6 +316,15 @@ export function group_series(path_meta_pairs, group_by_tags, split_localizer) {
|
|
|
316
316
|
return ret;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
+
/**
|
|
320
|
+
* @param {File} file
|
|
321
|
+
* @returns {Promise<boolean>}
|
|
322
|
+
*/
|
|
323
|
+
export function is_dicom_part10(file) {
|
|
324
|
+
const ret = wasm.is_dicom_part10(file);
|
|
325
|
+
return ret;
|
|
326
|
+
}
|
|
327
|
+
|
|
319
328
|
/**
|
|
320
329
|
* @param {Uint8Array} bytes
|
|
321
330
|
* @param {string[] | null} [include_tags]
|
|
@@ -347,83 +356,83 @@ export function read_until_pixels(file, stop_tags, max_size) {
|
|
|
347
356
|
function __wbg_get_imports() {
|
|
348
357
|
const import0 = {
|
|
349
358
|
__proto__: null,
|
|
350
|
-
|
|
359
|
+
__wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
|
|
351
360
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
352
361
|
return ret;
|
|
353
362
|
},
|
|
354
|
-
|
|
363
|
+
__wbg_Number_a5a435bd7bbec835: function(arg0) {
|
|
355
364
|
const ret = Number(arg0);
|
|
356
365
|
return ret;
|
|
357
366
|
},
|
|
358
|
-
|
|
367
|
+
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
359
368
|
const ret = String(arg1);
|
|
360
369
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
361
370
|
const len1 = WASM_VECTOR_LEN;
|
|
362
371
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
363
372
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
364
373
|
},
|
|
365
|
-
|
|
374
|
+
__wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
|
|
366
375
|
const v = arg1;
|
|
367
376
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
368
377
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
369
378
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
370
379
|
},
|
|
371
|
-
|
|
380
|
+
__wbg___wbindgen_boolean_get_c0f3f60bac5a78d1: function(arg0) {
|
|
372
381
|
const v = arg0;
|
|
373
382
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
374
383
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
375
384
|
},
|
|
376
|
-
|
|
385
|
+
__wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
|
|
377
386
|
const ret = debugString(arg1);
|
|
378
387
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
379
388
|
const len1 = WASM_VECTOR_LEN;
|
|
380
389
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
381
390
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
382
391
|
},
|
|
383
|
-
|
|
392
|
+
__wbg___wbindgen_in_41dbb8413020e076: function(arg0, arg1) {
|
|
384
393
|
const ret = arg0 in arg1;
|
|
385
394
|
return ret;
|
|
386
395
|
},
|
|
387
|
-
|
|
396
|
+
__wbg___wbindgen_is_bigint_e2141d4f045b7eda: function(arg0) {
|
|
388
397
|
const ret = typeof(arg0) === 'bigint';
|
|
389
398
|
return ret;
|
|
390
399
|
},
|
|
391
|
-
|
|
400
|
+
__wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
|
|
392
401
|
const ret = typeof(arg0) === 'function';
|
|
393
402
|
return ret;
|
|
394
403
|
},
|
|
395
|
-
|
|
404
|
+
__wbg___wbindgen_is_null_0b605fc6b167c56f: function(arg0) {
|
|
396
405
|
const ret = arg0 === null;
|
|
397
406
|
return ret;
|
|
398
407
|
},
|
|
399
|
-
|
|
408
|
+
__wbg___wbindgen_is_object_781bc9f159099513: function(arg0) {
|
|
400
409
|
const val = arg0;
|
|
401
410
|
const ret = typeof(val) === 'object' && val !== null;
|
|
402
411
|
return ret;
|
|
403
412
|
},
|
|
404
|
-
|
|
413
|
+
__wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
|
|
405
414
|
const ret = typeof(arg0) === 'string';
|
|
406
415
|
return ret;
|
|
407
416
|
},
|
|
408
|
-
|
|
417
|
+
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
409
418
|
const ret = arg0 === undefined;
|
|
410
419
|
return ret;
|
|
411
420
|
},
|
|
412
|
-
|
|
421
|
+
__wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
|
|
413
422
|
const ret = arg0 === arg1;
|
|
414
423
|
return ret;
|
|
415
424
|
},
|
|
416
|
-
|
|
425
|
+
__wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b: function(arg0, arg1) {
|
|
417
426
|
const ret = arg0 == arg1;
|
|
418
427
|
return ret;
|
|
419
428
|
},
|
|
420
|
-
|
|
429
|
+
__wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
|
|
421
430
|
const obj = arg1;
|
|
422
431
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
423
432
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
424
433
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
425
434
|
},
|
|
426
|
-
|
|
435
|
+
__wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
|
|
427
436
|
const obj = arg1;
|
|
428
437
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
429
438
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -431,52 +440,56 @@ function __wbg_get_imports() {
|
|
|
431
440
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
432
441
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
433
442
|
},
|
|
434
|
-
|
|
443
|
+
__wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
|
|
435
444
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
436
445
|
},
|
|
437
|
-
|
|
446
|
+
__wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
|
|
438
447
|
arg0._wbg_cb_unref();
|
|
439
448
|
},
|
|
440
|
-
|
|
449
|
+
__wbg_arrayBuffer_7ff5e58aa85a64f7: function(arg0) {
|
|
441
450
|
const ret = arg0.arrayBuffer();
|
|
442
451
|
return ret;
|
|
443
452
|
},
|
|
444
|
-
|
|
445
|
-
const ret = arg0.call(arg1);
|
|
453
|
+
__wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
454
|
+
const ret = arg0.call(arg1, arg2);
|
|
446
455
|
return ret;
|
|
447
456
|
}, arguments); },
|
|
448
|
-
|
|
449
|
-
const ret = arg0.call(arg1
|
|
457
|
+
__wbg_call_e133b57c9155d22c: function() { return handleError(function (arg0, arg1) {
|
|
458
|
+
const ret = arg0.call(arg1);
|
|
450
459
|
return ret;
|
|
451
460
|
}, arguments); },
|
|
452
|
-
|
|
461
|
+
__wbg_done_08ce71ee07e3bd17: function(arg0) {
|
|
453
462
|
const ret = arg0.done;
|
|
454
463
|
return ret;
|
|
455
464
|
},
|
|
456
|
-
|
|
465
|
+
__wbg_entries_e8a20ff8c9757101: function(arg0) {
|
|
457
466
|
const ret = Object.entries(arg0);
|
|
458
467
|
return ret;
|
|
459
468
|
},
|
|
460
|
-
|
|
469
|
+
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
461
470
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
462
471
|
}, arguments); },
|
|
463
|
-
|
|
472
|
+
__wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
|
|
464
473
|
const ret = arg0.getTime();
|
|
465
474
|
return ret;
|
|
466
475
|
},
|
|
467
|
-
|
|
476
|
+
__wbg_getTimezoneOffset_639bcf2dde21158b: function(arg0) {
|
|
468
477
|
const ret = arg0.getTimezoneOffset();
|
|
469
478
|
return ret;
|
|
470
479
|
},
|
|
471
|
-
|
|
480
|
+
__wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
|
|
481
|
+
const ret = Reflect.get(arg0, arg1);
|
|
482
|
+
return ret;
|
|
483
|
+
}, arguments); },
|
|
484
|
+
__wbg_get_a8ee5c45dabc1b3b: function(arg0, arg1) {
|
|
472
485
|
const ret = arg0[arg1 >>> 0];
|
|
473
486
|
return ret;
|
|
474
487
|
},
|
|
475
|
-
|
|
476
|
-
const ret =
|
|
488
|
+
__wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
|
|
489
|
+
const ret = arg0[arg1 >>> 0];
|
|
477
490
|
return ret;
|
|
478
|
-
},
|
|
479
|
-
|
|
491
|
+
},
|
|
492
|
+
__wbg_instanceof_ArrayBuffer_101e2bf31071a9f6: function(arg0) {
|
|
480
493
|
let result;
|
|
481
494
|
try {
|
|
482
495
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -486,7 +499,7 @@ function __wbg_get_imports() {
|
|
|
486
499
|
const ret = result;
|
|
487
500
|
return ret;
|
|
488
501
|
},
|
|
489
|
-
|
|
502
|
+
__wbg_instanceof_Map_f194b366846aca0c: function(arg0) {
|
|
490
503
|
let result;
|
|
491
504
|
try {
|
|
492
505
|
result = arg0 instanceof Map;
|
|
@@ -496,7 +509,7 @@ function __wbg_get_imports() {
|
|
|
496
509
|
const ret = result;
|
|
497
510
|
return ret;
|
|
498
511
|
},
|
|
499
|
-
|
|
512
|
+
__wbg_instanceof_Uint8Array_740438561a5b956d: function(arg0) {
|
|
500
513
|
let result;
|
|
501
514
|
try {
|
|
502
515
|
result = arg0 instanceof Uint8Array;
|
|
@@ -506,50 +519,62 @@ function __wbg_get_imports() {
|
|
|
506
519
|
const ret = result;
|
|
507
520
|
return ret;
|
|
508
521
|
},
|
|
509
|
-
|
|
522
|
+
__wbg_isArray_33b91feb269ff46e: function(arg0) {
|
|
510
523
|
const ret = Array.isArray(arg0);
|
|
511
524
|
return ret;
|
|
512
525
|
},
|
|
513
|
-
|
|
526
|
+
__wbg_isSafeInteger_ecd6a7f9c3e053cd: function(arg0) {
|
|
514
527
|
const ret = Number.isSafeInteger(arg0);
|
|
515
528
|
return ret;
|
|
516
529
|
},
|
|
517
|
-
|
|
530
|
+
__wbg_iterator_d8f549ec8fb061b1: function() {
|
|
518
531
|
const ret = Symbol.iterator;
|
|
519
532
|
return ret;
|
|
520
533
|
},
|
|
521
|
-
|
|
534
|
+
__wbg_length_b3416cf66a5452c8: function(arg0) {
|
|
522
535
|
const ret = arg0.length;
|
|
523
536
|
return ret;
|
|
524
537
|
},
|
|
525
|
-
|
|
538
|
+
__wbg_length_ea16607d7b61445b: function(arg0) {
|
|
526
539
|
const ret = arg0.length;
|
|
527
540
|
return ret;
|
|
528
541
|
},
|
|
529
|
-
|
|
542
|
+
__wbg_new_0_1dcafdf5e786e876: function() {
|
|
530
543
|
const ret = new Date();
|
|
531
544
|
return ret;
|
|
532
545
|
},
|
|
533
|
-
|
|
534
|
-
const ret = new
|
|
546
|
+
__wbg_new_49d5571bd3f0c4d4: function() {
|
|
547
|
+
const ret = new Map();
|
|
535
548
|
return ret;
|
|
536
549
|
},
|
|
537
|
-
|
|
538
|
-
const ret = new
|
|
550
|
+
__wbg_new_5f486cdf45a04d78: function(arg0) {
|
|
551
|
+
const ret = new Uint8Array(arg0);
|
|
539
552
|
return ret;
|
|
540
553
|
},
|
|
541
|
-
|
|
554
|
+
__wbg_new_a70fbab9066b301f: function() {
|
|
542
555
|
const ret = new Array();
|
|
543
556
|
return ret;
|
|
544
557
|
},
|
|
545
|
-
|
|
558
|
+
__wbg_new_ab79df5bd7c26067: function() {
|
|
559
|
+
const ret = new Object();
|
|
560
|
+
return ret;
|
|
561
|
+
},
|
|
562
|
+
__wbg_new_fd94ca5c9639abd2: function(arg0) {
|
|
563
|
+
const ret = new Date(arg0);
|
|
564
|
+
return ret;
|
|
565
|
+
},
|
|
566
|
+
__wbg_new_from_slice_22da9388ac046e50: function(arg0, arg1) {
|
|
567
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
568
|
+
return ret;
|
|
569
|
+
},
|
|
570
|
+
__wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
|
|
546
571
|
try {
|
|
547
572
|
var state0 = {a: arg0, b: arg1};
|
|
548
573
|
var cb0 = (arg0, arg1) => {
|
|
549
574
|
const a = state0.a;
|
|
550
575
|
state0.a = 0;
|
|
551
576
|
try {
|
|
552
|
-
return
|
|
577
|
+
return wasm_bindgen__convert__closures_____invoke__h0b186e11ef6abd41(a, state0.b, arg0, arg1);
|
|
553
578
|
} finally {
|
|
554
579
|
state0.a = a;
|
|
555
580
|
}
|
|
@@ -560,93 +585,77 @@ function __wbg_get_imports() {
|
|
|
560
585
|
state0.a = state0.b = 0;
|
|
561
586
|
}
|
|
562
587
|
},
|
|
563
|
-
|
|
564
|
-
const ret = new Map();
|
|
565
|
-
return ret;
|
|
566
|
-
},
|
|
567
|
-
__wbg_new_dd2b680c8bf6ae29: function(arg0) {
|
|
568
|
-
const ret = new Uint8Array(arg0);
|
|
569
|
-
return ret;
|
|
570
|
-
},
|
|
571
|
-
__wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
|
|
572
|
-
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
573
|
-
return ret;
|
|
574
|
-
},
|
|
575
|
-
__wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
|
|
576
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
577
|
-
return ret;
|
|
578
|
-
},
|
|
579
|
-
__wbg_next_3482f54c49e8af19: function() { return handleError(function (arg0) {
|
|
588
|
+
__wbg_next_11b99ee6237339e3: function() { return handleError(function (arg0) {
|
|
580
589
|
const ret = arg0.next();
|
|
581
590
|
return ret;
|
|
582
591
|
}, arguments); },
|
|
583
|
-
|
|
592
|
+
__wbg_next_e01a967809d1aa68: function(arg0) {
|
|
584
593
|
const ret = arg0.next;
|
|
585
594
|
return ret;
|
|
586
595
|
},
|
|
587
|
-
|
|
596
|
+
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
588
597
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
589
598
|
},
|
|
590
|
-
|
|
599
|
+
__wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
|
|
591
600
|
const ret = arg0.queueMicrotask;
|
|
592
601
|
return ret;
|
|
593
602
|
},
|
|
594
|
-
|
|
603
|
+
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
595
604
|
queueMicrotask(arg0);
|
|
596
605
|
},
|
|
597
|
-
|
|
606
|
+
__wbg_resolve_ae8d83246e5bcc12: function(arg0) {
|
|
598
607
|
const ret = Promise.resolve(arg0);
|
|
599
608
|
return ret;
|
|
600
609
|
},
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
return ret;
|
|
610
|
+
__wbg_set_282384002438957f: function(arg0, arg1, arg2) {
|
|
611
|
+
arg0[arg1 >>> 0] = arg2;
|
|
604
612
|
},
|
|
605
|
-
|
|
613
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
606
614
|
arg0[arg1] = arg2;
|
|
607
615
|
},
|
|
608
|
-
|
|
609
|
-
|
|
616
|
+
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
617
|
+
const ret = arg0.set(arg1, arg2);
|
|
618
|
+
return ret;
|
|
610
619
|
},
|
|
611
|
-
|
|
620
|
+
__wbg_size_819df95195daae81: function(arg0) {
|
|
612
621
|
const ret = arg0.size;
|
|
613
622
|
return ret;
|
|
614
623
|
},
|
|
615
|
-
|
|
624
|
+
__wbg_slice_f55d290dcc799204: function() { return handleError(function (arg0, arg1, arg2) {
|
|
616
625
|
const ret = arg0.slice(arg1, arg2);
|
|
617
626
|
return ret;
|
|
618
627
|
}, arguments); },
|
|
619
|
-
|
|
628
|
+
__wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
|
|
620
629
|
const ret = typeof global === 'undefined' ? null : global;
|
|
621
630
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
622
631
|
},
|
|
623
|
-
|
|
632
|
+
__wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
|
|
624
633
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
625
634
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
626
635
|
},
|
|
627
|
-
|
|
636
|
+
__wbg_static_accessor_SELF_f207c857566db248: function() {
|
|
628
637
|
const ret = typeof self === 'undefined' ? null : self;
|
|
629
638
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
630
639
|
},
|
|
631
|
-
|
|
640
|
+
__wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
|
|
632
641
|
const ret = typeof window === 'undefined' ? null : window;
|
|
633
642
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
634
643
|
},
|
|
635
|
-
|
|
636
|
-
const ret = arg0.then(arg1
|
|
644
|
+
__wbg_then_098abe61755d12f6: function(arg0, arg1) {
|
|
645
|
+
const ret = arg0.then(arg1);
|
|
637
646
|
return ret;
|
|
638
647
|
},
|
|
639
|
-
|
|
640
|
-
const ret = arg0.then(arg1);
|
|
648
|
+
__wbg_then_9e335f6dd892bc11: function(arg0, arg1, arg2) {
|
|
649
|
+
const ret = arg0.then(arg1, arg2);
|
|
641
650
|
return ret;
|
|
642
651
|
},
|
|
643
|
-
|
|
652
|
+
__wbg_value_21fc78aab0322612: function(arg0) {
|
|
644
653
|
const ret = arg0.value;
|
|
645
654
|
return ret;
|
|
646
655
|
},
|
|
647
656
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
648
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
649
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
657
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [Externref], shim_idx: 50, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
658
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h137e736e2a3531af, wasm_bindgen__convert__closures_____invoke__h87c2cee7fa035307);
|
|
650
659
|
return ret;
|
|
651
660
|
},
|
|
652
661
|
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
@@ -685,12 +694,15 @@ function __wbg_get_imports() {
|
|
|
685
694
|
};
|
|
686
695
|
}
|
|
687
696
|
|
|
688
|
-
function
|
|
689
|
-
wasm.
|
|
697
|
+
function wasm_bindgen__convert__closures_____invoke__h87c2cee7fa035307(arg0, arg1, arg2) {
|
|
698
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h87c2cee7fa035307(arg0, arg1, arg2);
|
|
699
|
+
if (ret[1]) {
|
|
700
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
701
|
+
}
|
|
690
702
|
}
|
|
691
703
|
|
|
692
|
-
function
|
|
693
|
-
wasm.
|
|
704
|
+
function wasm_bindgen__convert__closures_____invoke__h0b186e11ef6abd41(arg0, arg1, arg2, arg3) {
|
|
705
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h0b186e11ef6abd41(arg0, arg1, arg2, arg3);
|
|
694
706
|
}
|
|
695
707
|
|
|
696
708
|
const ContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/dcm/dcm_bg.wasm
CHANGED
|
Binary file
|
package/dcm/dcm_bg.wasm.d.ts
CHANGED
|
@@ -20,18 +20,19 @@ export const context_rename_file: (a: number, b: number, c: number, d: number, e
|
|
|
20
20
|
export const context_split_localizer: (a: number, b: number) => number;
|
|
21
21
|
export const context_stop_at_tags: (a: number, b: any) => [number, number, number];
|
|
22
22
|
export const context_new: () => number;
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
23
|
+
export const __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
|
|
24
|
+
export const group_series: (a: any, b: any, c: number) => any;
|
|
25
25
|
export const create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
26
|
+
export const is_dicom_part10: (a: any) => any;
|
|
26
27
|
export const read_until_pixels: (a: any, b: any, c: number) => any;
|
|
27
28
|
export const __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
28
|
-
export const __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
|
|
29
29
|
export const deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
|
|
30
30
|
export const deidprofile_from_yaml: (a: number, b: number) => [number, number, number];
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
31
|
+
export const get_fw_meta: (a: any, b: any) => [number, number, number];
|
|
32
|
+
export const parse_header: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
33
|
+
export const wasm_bindgen__closure__destroy__h137e736e2a3531af: (a: number, b: number) => void;
|
|
34
|
+
export const wasm_bindgen__convert__closures_____invoke__h87c2cee7fa035307: (a: number, b: number, c: any) => [number, number];
|
|
35
|
+
export const wasm_bindgen__convert__closures_____invoke__h0b186e11ef6abd41: (a: number, b: number, c: any, d: any) => void;
|
|
35
36
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
36
37
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
37
38
|
export const __wbindgen_exn_store: (a: number) => void;
|