@flywheel-io/fw-file-rs 0.7.2 → 0.9.0
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 +56 -11
- package/dcm/dcm.js +197 -93
- package/dcm/dcm_bg.wasm +0 -0
- package/dcm/dcm_bg.wasm.d.ts +17 -11
- package/package.json +1 -1
package/dcm/dcm.d.ts
CHANGED
|
@@ -6,6 +6,11 @@ export class Context {
|
|
|
6
6
|
[Symbol.dispose](): void;
|
|
7
7
|
static default(): Context;
|
|
8
8
|
deid_header(bytes: Uint8Array): Uint8Array;
|
|
9
|
+
/**
|
|
10
|
+
* De-identify DICOM bytes and return `[bytes, report]` — see
|
|
11
|
+
* [`deid_result_to_js_array`] for the shape.
|
|
12
|
+
*/
|
|
13
|
+
deid_header_with_report(bytes: Uint8Array): Array<any>;
|
|
9
14
|
deid_profile(yaml: string): Context;
|
|
10
15
|
get_deid_profile(): DeidProfile | undefined;
|
|
11
16
|
get_fw_meta(header: any): any;
|
|
@@ -27,8 +32,35 @@ export class DeidProfile {
|
|
|
27
32
|
private constructor();
|
|
28
33
|
free(): void;
|
|
29
34
|
[Symbol.dispose](): void;
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Use `deid_file(filename, bytes)`, which picks the profile
|
|
37
|
+
* section by file type. Unlike this method it throws for a profile with
|
|
38
|
+
* no `dicom` section instead of returning the input unchanged.
|
|
39
|
+
*/
|
|
30
40
|
deid_dcm(dcm_bytes: Uint8Array): Uint8Array;
|
|
41
|
+
/**
|
|
42
|
+
* Apply the profile and return `[bytes, report]` — see
|
|
43
|
+
* [`deid_result_to_js_array`] for the shape.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated Use `deid_file_with_report(filename, bytes)`, which picks
|
|
46
|
+
* the profile section by file type. Unlike this method it throws for a
|
|
47
|
+
* profile with no `dicom` section instead of returning the input
|
|
48
|
+
* unchanged.
|
|
49
|
+
*/
|
|
50
|
+
deid_dcm_with_report(dcm_bytes: Uint8Array): Array<any>;
|
|
51
|
+
/**
|
|
52
|
+
* De-identify a file of any supported type, detected from its content
|
|
53
|
+
* and then `filename`. Throws for an unrecognized type or one the
|
|
54
|
+
* profile has no section for.
|
|
55
|
+
*/
|
|
56
|
+
deid_file(filename: string, bytes: Uint8Array): Uint8Array;
|
|
57
|
+
/**
|
|
58
|
+
* `deid_file`, returning `[bytes, report, section]` where `section`
|
|
59
|
+
* names the profile section applied (`"dicom"`, `"json"`).
|
|
60
|
+
*/
|
|
61
|
+
deid_file_with_report(filename: string, bytes: Uint8Array): Array<any>;
|
|
31
62
|
static from_yaml(yaml: string): DeidProfile;
|
|
63
|
+
static schema(): any;
|
|
32
64
|
}
|
|
33
65
|
|
|
34
66
|
export class WasmDCMGroup {
|
|
@@ -47,22 +79,25 @@ export function is_dicom_part10(file: File): Promise<boolean>;
|
|
|
47
79
|
|
|
48
80
|
export function parse_header(bytes: Uint8Array, include_tags?: string[] | null): any;
|
|
49
81
|
|
|
82
|
+
/**
|
|
83
|
+
* Walk every element in the DICOM header bytes in document order, including
|
|
84
|
+
* sequences and their nested items. Returns an array of row objects with
|
|
85
|
+
* keys: path, keyword, tag, depth, is_sq, value.
|
|
86
|
+
*/
|
|
87
|
+
export function parse_header_full(bytes: Uint8Array): any;
|
|
88
|
+
|
|
50
89
|
export function read_until_pixels(file: File, stop_tags: any, max_size?: number | null): Promise<Uint8Array>;
|
|
51
90
|
|
|
52
91
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
53
92
|
|
|
54
93
|
export interface InitOutput {
|
|
55
94
|
readonly memory: WebAssembly.Memory;
|
|
56
|
-
readonly __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
57
|
-
readonly deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
|
|
58
|
-
readonly deidprofile_from_yaml: (a: number, b: number) => [number, number, number];
|
|
59
|
-
readonly create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
60
|
-
readonly get_fw_meta: (a: any, b: any) => [number, number, number];
|
|
61
|
-
readonly is_dicom_part10: (a: any) => any;
|
|
62
|
-
readonly read_until_pixels: (a: any, b: any, c: number) => any;
|
|
63
95
|
readonly __wbg_context_free: (a: number, b: number) => void;
|
|
96
|
+
readonly __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
97
|
+
readonly __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
|
|
64
98
|
readonly context_default: () => number;
|
|
65
99
|
readonly context_deid_header: (a: number, b: number, c: number) => [number, number, number, number];
|
|
100
|
+
readonly context_deid_header_with_report: (a: number, b: number, c: number) => [number, number, number];
|
|
66
101
|
readonly context_deid_profile: (a: number, b: number, c: number) => [number, number, number];
|
|
67
102
|
readonly context_get_deid_profile: (a: number) => number;
|
|
68
103
|
readonly context_get_fw_meta: (a: number, b: any) => [number, number, number];
|
|
@@ -72,17 +107,27 @@ export interface InitOutput {
|
|
|
72
107
|
readonly context_is_dcm_filename: (a: number, b: number) => number;
|
|
73
108
|
readonly context_matches_file_filter: (a: number, b: number, c: number) => number;
|
|
74
109
|
readonly context_max_size: (a: number, b: number) => number;
|
|
110
|
+
readonly context_new: () => number;
|
|
75
111
|
readonly context_parse_header: (a: number, b: number, c: number) => [number, number, number];
|
|
76
112
|
readonly context_read_until_pixels: (a: number, b: any) => any;
|
|
77
113
|
readonly context_rename_file: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
78
114
|
readonly context_split_localizer: (a: number, b: number) => number;
|
|
79
115
|
readonly context_stop_at_tags: (a: number, b: any) => [number, number, number];
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
116
|
+
readonly create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
117
|
+
readonly deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
|
|
118
|
+
readonly deidprofile_deid_dcm_with_report: (a: number, b: number, c: number) => [number, number, number];
|
|
119
|
+
readonly deidprofile_deid_file: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
120
|
+
readonly deidprofile_deid_file_with_report: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
121
|
+
readonly deidprofile_from_yaml: (a: number, b: number) => [number, number, number];
|
|
122
|
+
readonly deidprofile_schema: () => [number, number, number];
|
|
123
|
+
readonly get_fw_meta: (a: any, b: any) => [number, number, number];
|
|
82
124
|
readonly group_series: (a: any, b: any, c: number) => any;
|
|
125
|
+
readonly is_dicom_part10: (a: any) => any;
|
|
83
126
|
readonly parse_header: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
127
|
+
readonly parse_header_full: (a: number, b: number) => [number, number, number];
|
|
128
|
+
readonly read_until_pixels: (a: any, b: any, c: number) => any;
|
|
129
|
+
readonly wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
130
|
+
readonly wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___wasm_bindgen_100bdf2efd44f6b0___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_100bdf2efd44f6b0___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
86
131
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
87
132
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
88
133
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/dcm/dcm.js
CHANGED
|
@@ -39,6 +39,21 @@ export class Context {
|
|
|
39
39
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
40
40
|
return v2;
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* De-identify DICOM bytes and return `[bytes, report]` — see
|
|
44
|
+
* [`deid_result_to_js_array`] for the shape.
|
|
45
|
+
* @param {Uint8Array} bytes
|
|
46
|
+
* @returns {Array<any>}
|
|
47
|
+
*/
|
|
48
|
+
deid_header_with_report(bytes) {
|
|
49
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
50
|
+
const len0 = WASM_VECTOR_LEN;
|
|
51
|
+
const ret = wasm.context_deid_header_with_report(this.__wbg_ptr, ptr0, len0);
|
|
52
|
+
if (ret[2]) {
|
|
53
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
54
|
+
}
|
|
55
|
+
return takeFromExternrefTable0(ret[0]);
|
|
56
|
+
}
|
|
42
57
|
/**
|
|
43
58
|
* @param {string} yaml
|
|
44
59
|
* @returns {Context}
|
|
@@ -220,6 +235,9 @@ export class DeidProfile {
|
|
|
220
235
|
wasm.__wbg_deidprofile_free(ptr, 0);
|
|
221
236
|
}
|
|
222
237
|
/**
|
|
238
|
+
* @deprecated Use `deid_file(filename, bytes)`, which picks the profile
|
|
239
|
+
* section by file type. Unlike this method it throws for a profile with
|
|
240
|
+
* no `dicom` section instead of returning the input unchanged.
|
|
223
241
|
* @param {Uint8Array} dcm_bytes
|
|
224
242
|
* @returns {Uint8Array}
|
|
225
243
|
*/
|
|
@@ -234,6 +252,65 @@ export class DeidProfile {
|
|
|
234
252
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
235
253
|
return v2;
|
|
236
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* Apply the profile and return `[bytes, report]` — see
|
|
257
|
+
* [`deid_result_to_js_array`] for the shape.
|
|
258
|
+
*
|
|
259
|
+
* @deprecated Use `deid_file_with_report(filename, bytes)`, which picks
|
|
260
|
+
* the profile section by file type. Unlike this method it throws for a
|
|
261
|
+
* profile with no `dicom` section instead of returning the input
|
|
262
|
+
* unchanged.
|
|
263
|
+
* @param {Uint8Array} dcm_bytes
|
|
264
|
+
* @returns {Array<any>}
|
|
265
|
+
*/
|
|
266
|
+
deid_dcm_with_report(dcm_bytes) {
|
|
267
|
+
const ptr0 = passArray8ToWasm0(dcm_bytes, wasm.__wbindgen_malloc);
|
|
268
|
+
const len0 = WASM_VECTOR_LEN;
|
|
269
|
+
const ret = wasm.deidprofile_deid_dcm_with_report(this.__wbg_ptr, ptr0, len0);
|
|
270
|
+
if (ret[2]) {
|
|
271
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
272
|
+
}
|
|
273
|
+
return takeFromExternrefTable0(ret[0]);
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* De-identify a file of any supported type, detected from its content
|
|
277
|
+
* and then `filename`. Throws for an unrecognized type or one the
|
|
278
|
+
* profile has no section for.
|
|
279
|
+
* @param {string} filename
|
|
280
|
+
* @param {Uint8Array} bytes
|
|
281
|
+
* @returns {Uint8Array}
|
|
282
|
+
*/
|
|
283
|
+
deid_file(filename, bytes) {
|
|
284
|
+
const ptr0 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
285
|
+
const len0 = WASM_VECTOR_LEN;
|
|
286
|
+
const ptr1 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
287
|
+
const len1 = WASM_VECTOR_LEN;
|
|
288
|
+
const ret = wasm.deidprofile_deid_file(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
289
|
+
if (ret[3]) {
|
|
290
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
291
|
+
}
|
|
292
|
+
var v3 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
293
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
294
|
+
return v3;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* `deid_file`, returning `[bytes, report, section]` where `section`
|
|
298
|
+
* names the profile section applied (`"dicom"`, `"json"`).
|
|
299
|
+
* @param {string} filename
|
|
300
|
+
* @param {Uint8Array} bytes
|
|
301
|
+
* @returns {Array<any>}
|
|
302
|
+
*/
|
|
303
|
+
deid_file_with_report(filename, bytes) {
|
|
304
|
+
const ptr0 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
305
|
+
const len0 = WASM_VECTOR_LEN;
|
|
306
|
+
const ptr1 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
307
|
+
const len1 = WASM_VECTOR_LEN;
|
|
308
|
+
const ret = wasm.deidprofile_deid_file_with_report(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
309
|
+
if (ret[2]) {
|
|
310
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
311
|
+
}
|
|
312
|
+
return takeFromExternrefTable0(ret[0]);
|
|
313
|
+
}
|
|
237
314
|
/**
|
|
238
315
|
* @param {string} yaml
|
|
239
316
|
* @returns {DeidProfile}
|
|
@@ -247,6 +324,16 @@ export class DeidProfile {
|
|
|
247
324
|
}
|
|
248
325
|
return DeidProfile.__wrap(ret[0]);
|
|
249
326
|
}
|
|
327
|
+
/**
|
|
328
|
+
* @returns {any}
|
|
329
|
+
*/
|
|
330
|
+
static schema() {
|
|
331
|
+
const ret = wasm.deidprofile_schema();
|
|
332
|
+
if (ret[2]) {
|
|
333
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
334
|
+
}
|
|
335
|
+
return takeFromExternrefTable0(ret[0]);
|
|
336
|
+
}
|
|
250
337
|
}
|
|
251
338
|
if (Symbol.dispose) DeidProfile.prototype[Symbol.dispose] = DeidProfile.prototype.free;
|
|
252
339
|
|
|
@@ -328,6 +415,23 @@ export function parse_header(bytes, include_tags) {
|
|
|
328
415
|
return takeFromExternrefTable0(ret[0]);
|
|
329
416
|
}
|
|
330
417
|
|
|
418
|
+
/**
|
|
419
|
+
* Walk every element in the DICOM header bytes in document order, including
|
|
420
|
+
* sequences and their nested items. Returns an array of row objects with
|
|
421
|
+
* keys: path, keyword, tag, depth, is_sq, value.
|
|
422
|
+
* @param {Uint8Array} bytes
|
|
423
|
+
* @returns {any}
|
|
424
|
+
*/
|
|
425
|
+
export function parse_header_full(bytes) {
|
|
426
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
427
|
+
const len0 = WASM_VECTOR_LEN;
|
|
428
|
+
const ret = wasm.parse_header_full(ptr0, len0);
|
|
429
|
+
if (ret[2]) {
|
|
430
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
431
|
+
}
|
|
432
|
+
return takeFromExternrefTable0(ret[0]);
|
|
433
|
+
}
|
|
434
|
+
|
|
331
435
|
/**
|
|
332
436
|
* @param {File} file
|
|
333
437
|
* @param {any} stop_tags
|
|
@@ -341,14 +445,10 @@ export function read_until_pixels(file, stop_tags, max_size) {
|
|
|
341
445
|
function __wbg_get_imports() {
|
|
342
446
|
const import0 = {
|
|
343
447
|
__proto__: null,
|
|
344
|
-
|
|
448
|
+
__wbg_Error_30c8987f7c2ed4e2: function(arg0, arg1) {
|
|
345
449
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
346
450
|
return ret;
|
|
347
451
|
},
|
|
348
|
-
__wbg_Number_3890faa6d3ff057d: function(arg0) {
|
|
349
|
-
const ret = Number(arg0);
|
|
350
|
-
return ret;
|
|
351
|
-
},
|
|
352
452
|
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
353
453
|
const ret = String(arg1);
|
|
354
454
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -356,68 +456,68 @@ function __wbg_get_imports() {
|
|
|
356
456
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
357
457
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
358
458
|
},
|
|
359
|
-
|
|
459
|
+
__wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c: function(arg0, arg1) {
|
|
360
460
|
const v = arg1;
|
|
361
461
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
362
462
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
363
463
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
364
464
|
},
|
|
365
|
-
|
|
465
|
+
__wbg___wbindgen_boolean_get_5b446f51afd21013: function(arg0) {
|
|
366
466
|
const v = arg0;
|
|
367
467
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
368
468
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
369
469
|
},
|
|
370
|
-
|
|
470
|
+
__wbg___wbindgen_debug_string_4687d8d8c2017d52: function(arg0, arg1) {
|
|
371
471
|
const ret = debugString(arg1);
|
|
372
472
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
373
473
|
const len1 = WASM_VECTOR_LEN;
|
|
374
474
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
375
475
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
376
476
|
},
|
|
377
|
-
|
|
477
|
+
__wbg___wbindgen_in_92f62ee1427d9e49: function(arg0, arg1) {
|
|
378
478
|
const ret = arg0 in arg1;
|
|
379
479
|
return ret;
|
|
380
480
|
},
|
|
381
|
-
|
|
481
|
+
__wbg___wbindgen_is_bigint_b123553bed3bb382: function(arg0) {
|
|
382
482
|
const ret = typeof(arg0) === 'bigint';
|
|
383
483
|
return ret;
|
|
384
484
|
},
|
|
385
|
-
|
|
485
|
+
__wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(arg0) {
|
|
386
486
|
const ret = typeof(arg0) === 'function';
|
|
387
487
|
return ret;
|
|
388
488
|
},
|
|
389
|
-
|
|
489
|
+
__wbg___wbindgen_is_null_e343b7d08827ba72: function(arg0) {
|
|
390
490
|
const ret = arg0 === null;
|
|
391
491
|
return ret;
|
|
392
492
|
},
|
|
393
|
-
|
|
493
|
+
__wbg___wbindgen_is_object_3c45d4f2dde4e749: function(arg0) {
|
|
394
494
|
const val = arg0;
|
|
395
495
|
const ret = typeof(val) === 'object' && val !== null;
|
|
396
496
|
return ret;
|
|
397
497
|
},
|
|
398
|
-
|
|
498
|
+
__wbg___wbindgen_is_string_90b56bc79aad6f6c: function(arg0) {
|
|
399
499
|
const ret = typeof(arg0) === 'string';
|
|
400
500
|
return ret;
|
|
401
501
|
},
|
|
402
|
-
|
|
502
|
+
__wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
|
|
403
503
|
const ret = arg0 === undefined;
|
|
404
504
|
return ret;
|
|
405
505
|
},
|
|
406
|
-
|
|
506
|
+
__wbg___wbindgen_jsval_eq_02babf21faa37971: function(arg0, arg1) {
|
|
407
507
|
const ret = arg0 === arg1;
|
|
408
508
|
return ret;
|
|
409
509
|
},
|
|
410
|
-
|
|
510
|
+
__wbg___wbindgen_jsval_loose_eq_677f21e468d6b461: function(arg0, arg1) {
|
|
411
511
|
const ret = arg0 == arg1;
|
|
412
512
|
return ret;
|
|
413
513
|
},
|
|
414
|
-
|
|
514
|
+
__wbg___wbindgen_number_get_2e0e7dee9f701a71: function(arg0, arg1) {
|
|
415
515
|
const obj = arg1;
|
|
416
516
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
417
517
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
418
518
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
419
519
|
},
|
|
420
|
-
|
|
520
|
+
__wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(arg0, arg1) {
|
|
421
521
|
const obj = arg1;
|
|
422
522
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
423
523
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -425,56 +525,56 @@ function __wbg_get_imports() {
|
|
|
425
525
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
426
526
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
427
527
|
},
|
|
428
|
-
|
|
528
|
+
__wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
|
|
429
529
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
430
530
|
},
|
|
431
|
-
|
|
531
|
+
__wbg__wbg_cb_unref_dcc1a90847f04c41: function(arg0) {
|
|
432
532
|
arg0._wbg_cb_unref();
|
|
433
533
|
},
|
|
434
|
-
|
|
534
|
+
__wbg_arrayBuffer_0fe6e1300abcf908: function(arg0) {
|
|
435
535
|
const ret = arg0.arrayBuffer();
|
|
436
536
|
return ret;
|
|
437
537
|
},
|
|
438
|
-
|
|
439
|
-
const ret = arg0.call(arg1);
|
|
538
|
+
__wbg_call_187d372bd5fdd4aa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
539
|
+
const ret = arg0.call(arg1, arg2);
|
|
440
540
|
return ret;
|
|
441
541
|
}, arguments); },
|
|
442
|
-
|
|
443
|
-
const ret = arg0.call(arg1
|
|
542
|
+
__wbg_call_6137034ef55c9d0f: function() { return handleError(function (arg0, arg1) {
|
|
543
|
+
const ret = arg0.call(arg1);
|
|
444
544
|
return ret;
|
|
445
545
|
}, arguments); },
|
|
446
|
-
|
|
546
|
+
__wbg_done_b41a1d26cdb37fb6: function(arg0) {
|
|
447
547
|
const ret = arg0.done;
|
|
448
548
|
return ret;
|
|
449
549
|
},
|
|
450
|
-
|
|
550
|
+
__wbg_entries_fb6397112b1de25f: function(arg0) {
|
|
451
551
|
const ret = Object.entries(arg0);
|
|
452
552
|
return ret;
|
|
453
553
|
},
|
|
454
554
|
__wbg_getRandomValues_a608c4436c19407a: function() { return handleError(function (arg0, arg1) {
|
|
455
555
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
456
556
|
}, arguments); },
|
|
457
|
-
|
|
557
|
+
__wbg_getTime_f5a55efff2585d5d: function(arg0) {
|
|
458
558
|
const ret = arg0.getTime();
|
|
459
559
|
return ret;
|
|
460
560
|
},
|
|
461
|
-
|
|
561
|
+
__wbg_getTimezoneOffset_2e851fdaecc2dc92: function(arg0) {
|
|
462
562
|
const ret = arg0.getTimezoneOffset();
|
|
463
563
|
return ret;
|
|
464
564
|
},
|
|
465
|
-
|
|
466
|
-
const ret = arg0[arg1 >>> 0];
|
|
467
|
-
return ret;
|
|
468
|
-
},
|
|
469
|
-
__wbg_get_d173c0308df22d37: function() { return handleError(function (arg0, arg1) {
|
|
565
|
+
__wbg_get_658f6698067d9515: function() { return handleError(function (arg0, arg1) {
|
|
470
566
|
const ret = Reflect.get(arg0, arg1);
|
|
471
567
|
return ret;
|
|
472
568
|
}, arguments); },
|
|
473
|
-
|
|
569
|
+
__wbg_get_6c896e0571ddae51: function(arg0, arg1) {
|
|
570
|
+
const ret = arg0[arg1 >>> 0];
|
|
571
|
+
return ret;
|
|
572
|
+
},
|
|
573
|
+
__wbg_get_unchecked_288889d017702237: function(arg0, arg1) {
|
|
474
574
|
const ret = arg0[arg1 >>> 0];
|
|
475
575
|
return ret;
|
|
476
576
|
},
|
|
477
|
-
|
|
577
|
+
__wbg_instanceof_ArrayBuffer_a99f175873e5d9b8: function(arg0) {
|
|
478
578
|
let result;
|
|
479
579
|
try {
|
|
480
580
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -484,7 +584,7 @@ function __wbg_get_imports() {
|
|
|
484
584
|
const ret = result;
|
|
485
585
|
return ret;
|
|
486
586
|
},
|
|
487
|
-
|
|
587
|
+
__wbg_instanceof_Map_b2611749102d7ba3: function(arg0) {
|
|
488
588
|
let result;
|
|
489
589
|
try {
|
|
490
590
|
result = arg0 instanceof Map;
|
|
@@ -494,7 +594,7 @@ function __wbg_get_imports() {
|
|
|
494
594
|
const ret = result;
|
|
495
595
|
return ret;
|
|
496
596
|
},
|
|
497
|
-
|
|
597
|
+
__wbg_instanceof_Uint8Array_828cef2aaacafc31: function(arg0) {
|
|
498
598
|
let result;
|
|
499
599
|
try {
|
|
500
600
|
result = arg0 instanceof Uint8Array;
|
|
@@ -504,62 +604,62 @@ function __wbg_get_imports() {
|
|
|
504
604
|
const ret = result;
|
|
505
605
|
return ret;
|
|
506
606
|
},
|
|
507
|
-
|
|
607
|
+
__wbg_isArray_e15a2ff68ffdbef2: function(arg0) {
|
|
508
608
|
const ret = Array.isArray(arg0);
|
|
509
609
|
return ret;
|
|
510
610
|
},
|
|
511
|
-
|
|
611
|
+
__wbg_isSafeInteger_717808ad6a54bd9e: function(arg0) {
|
|
512
612
|
const ret = Number.isSafeInteger(arg0);
|
|
513
613
|
return ret;
|
|
514
614
|
},
|
|
515
|
-
|
|
615
|
+
__wbg_iterator_e3c31c892080e444: function() {
|
|
516
616
|
const ret = Symbol.iterator;
|
|
517
617
|
return ret;
|
|
518
618
|
},
|
|
519
|
-
|
|
619
|
+
__wbg_length_7f3c00c40364105e: function(arg0) {
|
|
520
620
|
const ret = arg0.length;
|
|
521
621
|
return ret;
|
|
522
622
|
},
|
|
523
|
-
|
|
623
|
+
__wbg_length_d4bdea10311bd9cf: function(arg0) {
|
|
524
624
|
const ret = arg0.length;
|
|
525
625
|
return ret;
|
|
526
626
|
},
|
|
527
|
-
|
|
627
|
+
__wbg_new_0_72d020f0c63443d4: function() {
|
|
528
628
|
const ret = new Date();
|
|
529
629
|
return ret;
|
|
530
630
|
},
|
|
531
|
-
|
|
532
|
-
const ret = new Array();
|
|
533
|
-
return ret;
|
|
534
|
-
},
|
|
535
|
-
__wbg_new_77cc4f4f472aeb81: function(arg0) {
|
|
631
|
+
__wbg_new_1dbf7428bba60a42: function(arg0) {
|
|
536
632
|
const ret = new Uint8Array(arg0);
|
|
537
633
|
return ret;
|
|
538
634
|
},
|
|
539
|
-
|
|
635
|
+
__wbg_new_28744009d011f847: function() {
|
|
540
636
|
const ret = new Map();
|
|
541
637
|
return ret;
|
|
542
638
|
},
|
|
543
|
-
|
|
639
|
+
__wbg_new_34e56228080aa9f8: function(arg0) {
|
|
640
|
+
const ret = new Date(arg0);
|
|
641
|
+
return ret;
|
|
642
|
+
},
|
|
643
|
+
__wbg_new_617a8cdb8bb1130e: function() {
|
|
544
644
|
const ret = new Object();
|
|
545
645
|
return ret;
|
|
546
646
|
},
|
|
547
|
-
|
|
548
|
-
const ret = new
|
|
647
|
+
__wbg_new_ee2291f50781bf1d: function() {
|
|
648
|
+
const ret = new Array();
|
|
549
649
|
return ret;
|
|
550
650
|
},
|
|
551
|
-
|
|
651
|
+
__wbg_new_from_slice_9a868026ffa4208a: function(arg0, arg1) {
|
|
552
652
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
553
653
|
return ret;
|
|
554
654
|
},
|
|
555
|
-
|
|
655
|
+
__wbg_new_typed_b01cb72a8af741a3: function(arg0, arg1) {
|
|
556
656
|
try {
|
|
557
657
|
var state0 = {a: arg0, b: arg1};
|
|
558
658
|
var cb0 = (arg0, arg1) => {
|
|
559
659
|
const a = state0.a;
|
|
560
660
|
state0.a = 0;
|
|
561
661
|
try {
|
|
562
|
-
return
|
|
662
|
+
return wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
563
663
|
} finally {
|
|
564
664
|
state0.a = a;
|
|
565
665
|
}
|
|
@@ -570,95 +670,99 @@ function __wbg_get_imports() {
|
|
|
570
670
|
state0.a = 0;
|
|
571
671
|
}
|
|
572
672
|
},
|
|
573
|
-
|
|
574
|
-
const ret = arg0.next();
|
|
575
|
-
return ret;
|
|
576
|
-
}, arguments); },
|
|
577
|
-
__wbg_next_8f26b64fa5e9f64b: function(arg0) {
|
|
673
|
+
__wbg_next_33784799010f1bbe: function(arg0) {
|
|
578
674
|
const ret = arg0.next;
|
|
579
675
|
return ret;
|
|
580
676
|
},
|
|
581
|
-
|
|
677
|
+
__wbg_next_f4aac29c42af995c: function() { return handleError(function (arg0) {
|
|
678
|
+
const ret = arg0.next();
|
|
679
|
+
return ret;
|
|
680
|
+
}, arguments); },
|
|
681
|
+
__wbg_prototypesetcall_bc27214492979395: function(arg0, arg1, arg2) {
|
|
582
682
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
583
683
|
},
|
|
584
|
-
|
|
585
|
-
|
|
684
|
+
__wbg_push_2baf45db356cf468: function(arg0, arg1) {
|
|
685
|
+
const ret = arg0.push(arg1);
|
|
686
|
+
return ret;
|
|
586
687
|
},
|
|
587
|
-
|
|
688
|
+
__wbg_queueMicrotask_9833f9a49df95a49: function(arg0) {
|
|
588
689
|
const ret = arg0.queueMicrotask;
|
|
589
690
|
return ret;
|
|
590
691
|
},
|
|
591
|
-
|
|
692
|
+
__wbg_queueMicrotask_a72f977e97f23c5f: function(arg0) {
|
|
693
|
+
queueMicrotask(arg0);
|
|
694
|
+
},
|
|
695
|
+
__wbg_resolve_0076e10020304ede: function(arg0) {
|
|
592
696
|
const ret = Promise.resolve(arg0);
|
|
593
697
|
return ret;
|
|
594
698
|
},
|
|
595
|
-
|
|
699
|
+
__wbg_set_6ae97e73113c4f0b: function(arg0, arg1, arg2) {
|
|
596
700
|
const ret = arg0.set(arg1, arg2);
|
|
597
701
|
return ret;
|
|
598
702
|
},
|
|
599
703
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
600
704
|
arg0[arg1] = arg2;
|
|
601
705
|
},
|
|
602
|
-
|
|
706
|
+
__wbg_set_bea140a88be9b277: function(arg0, arg1, arg2) {
|
|
603
707
|
arg0[arg1 >>> 0] = arg2;
|
|
604
708
|
},
|
|
605
|
-
|
|
709
|
+
__wbg_size_8f1c0b1a1fbb3810: function(arg0) {
|
|
606
710
|
const ret = arg0.size;
|
|
607
711
|
return ret;
|
|
608
712
|
},
|
|
609
|
-
|
|
713
|
+
__wbg_slice_afd8274aed4149c0: function() { return handleError(function (arg0, arg1, arg2) {
|
|
610
714
|
const ret = arg0.slice(arg1, arg2);
|
|
611
715
|
return ret;
|
|
612
716
|
}, arguments); },
|
|
613
|
-
|
|
614
|
-
const ret = typeof
|
|
717
|
+
__wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
|
|
718
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
615
719
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
616
720
|
},
|
|
617
|
-
|
|
618
|
-
const ret = typeof
|
|
721
|
+
__wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() {
|
|
722
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
619
723
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
620
724
|
},
|
|
621
|
-
|
|
725
|
+
__wbg_static_accessor_SELF_0b583911f537483a: function() {
|
|
622
726
|
const ret = typeof self === 'undefined' ? null : self;
|
|
623
727
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
624
728
|
},
|
|
625
|
-
|
|
729
|
+
__wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() {
|
|
626
730
|
const ret = typeof window === 'undefined' ? null : window;
|
|
627
731
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
628
732
|
},
|
|
629
|
-
|
|
630
|
-
const ret = arg0.then(arg1);
|
|
733
|
+
__wbg_then_c949d5a25a4e78f8: function(arg0, arg1, arg2) {
|
|
734
|
+
const ret = arg0.then(arg1, arg2);
|
|
631
735
|
return ret;
|
|
632
736
|
},
|
|
633
|
-
|
|
634
|
-
const ret = arg0.then(arg1
|
|
737
|
+
__wbg_then_e71170d78fcf8954: function(arg0, arg1) {
|
|
738
|
+
const ret = arg0.then(arg1);
|
|
635
739
|
return ret;
|
|
636
740
|
},
|
|
637
|
-
|
|
741
|
+
__wbg_value_f3c585ee8f5ba40c: function(arg0) {
|
|
638
742
|
const ret = arg0.value;
|
|
639
743
|
return ret;
|
|
640
744
|
},
|
|
641
|
-
|
|
642
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
643
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
745
|
+
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
746
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1345, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
747
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___wasm_bindgen_100bdf2efd44f6b0___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_100bdf2efd44f6b0___JsError___true_);
|
|
644
748
|
return ret;
|
|
645
749
|
},
|
|
646
|
-
|
|
750
|
+
__wbindgen_generic_0000000000000002: function(arg0) {
|
|
647
751
|
// Cast intrinsic for `F64 -> Externref`.
|
|
648
752
|
const ret = arg0;
|
|
649
753
|
return ret;
|
|
650
754
|
},
|
|
651
|
-
|
|
755
|
+
__wbindgen_generic_0000000000000003: function(arg0) {
|
|
652
756
|
// Cast intrinsic for `I64 -> Externref`.
|
|
653
757
|
const ret = arg0;
|
|
654
758
|
return ret;
|
|
655
759
|
},
|
|
656
|
-
|
|
760
|
+
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
657
761
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
658
762
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
659
763
|
return ret;
|
|
660
764
|
},
|
|
661
|
-
|
|
765
|
+
__wbindgen_generic_0000000000000005: function(arg0) {
|
|
662
766
|
// Cast intrinsic for `U64 -> Externref`.
|
|
663
767
|
const ret = BigInt.asUintN(64, arg0);
|
|
664
768
|
return ret;
|
|
@@ -679,15 +783,15 @@ function __wbg_get_imports() {
|
|
|
679
783
|
};
|
|
680
784
|
}
|
|
681
785
|
|
|
682
|
-
function
|
|
683
|
-
const ret = wasm.
|
|
786
|
+
function wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___wasm_bindgen_100bdf2efd44f6b0___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_100bdf2efd44f6b0___JsError___true_(arg0, arg1, arg2) {
|
|
787
|
+
const ret = wasm.wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___wasm_bindgen_100bdf2efd44f6b0___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_100bdf2efd44f6b0___JsError___true_(arg0, arg1, arg2);
|
|
684
788
|
if (ret[1]) {
|
|
685
789
|
throw takeFromExternrefTable0(ret[0]);
|
|
686
790
|
}
|
|
687
791
|
}
|
|
688
792
|
|
|
689
|
-
function
|
|
690
|
-
wasm.
|
|
793
|
+
function wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
794
|
+
wasm.wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
691
795
|
}
|
|
692
796
|
|
|
693
797
|
const ContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/dcm/dcm_bg.wasm
CHANGED
|
Binary file
|
package/dcm/dcm_bg.wasm.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
5
|
-
export const deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
|
|
6
|
-
export const deidprofile_from_yaml: (a: number, b: number) => [number, number, number];
|
|
7
|
-
export const create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
8
|
-
export const get_fw_meta: (a: any, b: any) => [number, number, number];
|
|
9
|
-
export const is_dicom_part10: (a: any) => any;
|
|
10
|
-
export const read_until_pixels: (a: any, b: any, c: number) => any;
|
|
11
4
|
export const __wbg_context_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
6
|
+
export const __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
|
|
12
7
|
export const context_default: () => number;
|
|
13
8
|
export const context_deid_header: (a: number, b: number, c: number) => [number, number, number, number];
|
|
9
|
+
export const context_deid_header_with_report: (a: number, b: number, c: number) => [number, number, number];
|
|
14
10
|
export const context_deid_profile: (a: number, b: number, c: number) => [number, number, number];
|
|
15
11
|
export const context_get_deid_profile: (a: number) => number;
|
|
16
12
|
export const context_get_fw_meta: (a: number, b: any) => [number, number, number];
|
|
@@ -20,17 +16,27 @@ export const context_include_tags: (a: number, b: any) => [number, number, numbe
|
|
|
20
16
|
export const context_is_dcm_filename: (a: number, b: number) => number;
|
|
21
17
|
export const context_matches_file_filter: (a: number, b: number, c: number) => number;
|
|
22
18
|
export const context_max_size: (a: number, b: number) => number;
|
|
19
|
+
export const context_new: () => number;
|
|
23
20
|
export const context_parse_header: (a: number, b: number, c: number) => [number, number, number];
|
|
24
21
|
export const context_read_until_pixels: (a: number, b: any) => any;
|
|
25
22
|
export const context_rename_file: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
26
23
|
export const context_split_localizer: (a: number, b: number) => number;
|
|
27
24
|
export const context_stop_at_tags: (a: number, b: any) => [number, number, number];
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
25
|
+
export const create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
26
|
+
export const deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
|
|
27
|
+
export const deidprofile_deid_dcm_with_report: (a: number, b: number, c: number) => [number, number, number];
|
|
28
|
+
export const deidprofile_deid_file: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
29
|
+
export const deidprofile_deid_file_with_report: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
30
|
+
export const deidprofile_from_yaml: (a: number, b: number) => [number, number, number];
|
|
31
|
+
export const deidprofile_schema: () => [number, number, number];
|
|
32
|
+
export const get_fw_meta: (a: any, b: any) => [number, number, number];
|
|
30
33
|
export const group_series: (a: any, b: any, c: number) => any;
|
|
34
|
+
export const is_dicom_part10: (a: any) => any;
|
|
31
35
|
export const parse_header: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
36
|
+
export const parse_header_full: (a: number, b: number) => [number, number, number];
|
|
37
|
+
export const read_until_pixels: (a: any, b: any, c: number) => any;
|
|
38
|
+
export const wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined___js_sys_2beb89f55c1fda4c___Function_fn_wasm_bindgen_100bdf2efd44f6b0___JsValue_____wasm_bindgen_100bdf2efd44f6b0___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
39
|
+
export const wasm_bindgen_100bdf2efd44f6b0___convert__closures_____invoke___wasm_bindgen_100bdf2efd44f6b0___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_100bdf2efd44f6b0___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
34
40
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
35
41
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
36
42
|
export const __wbindgen_exn_store: (a: number) => void;
|