space-data-module-sdk 0.8.26 → 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.
Files changed (120) hide show
  1. package/README.md +5 -4
  2. package/docs/assembly.js +0 -18
  3. package/docs/assets/ai-credits/ai-credits.js +116 -0
  4. package/docs/assets/sdn-chrome/sdn-chrome.css +434 -0
  5. package/docs/assets/sdn-chrome/sdn-chrome.js +236 -0
  6. package/docs/browser-wasmedge-isomorphic.html +29 -41
  7. package/docs/byo-wasm-quickstart.html +29 -41
  8. package/docs/conformance.html +29 -41
  9. package/docs/events-abi.html +29 -41
  10. package/docs/families/analytics.html +29 -41
  11. package/docs/families/attitude.html +29 -41
  12. package/docs/families/behavior.html +29 -41
  13. package/docs/families/breakup.html +29 -41
  14. package/docs/families/conjunction.html +29 -41
  15. package/docs/families/data-source.html +29 -41
  16. package/docs/families/effects.html +29 -41
  17. package/docs/families/environment.html +29 -41
  18. package/docs/families/estimation.html +29 -41
  19. package/docs/families/gnc.html +29 -41
  20. package/docs/families/maneuver.html +29 -41
  21. package/docs/families/obstruction.html +29 -41
  22. package/docs/families/propagator.html +29 -41
  23. package/docs/families/propulsion.html +29 -41
  24. package/docs/families/reentry.html +29 -41
  25. package/docs/families/rf.html +29 -41
  26. package/docs/families/scheduler.html +29 -41
  27. package/docs/families/sensor.html +29 -41
  28. package/docs/families/signature.html +29 -41
  29. package/docs/flatsql-host-contract.html +29 -41
  30. package/docs/flatsql-streaming-standard.html +29 -41
  31. package/docs/gpu-module-abi.html +29 -41
  32. package/docs/index.html +43 -47
  33. package/docs/isomorphic-pthreads.html +29 -41
  34. package/docs/isomorphic-sdn-runtime-plan.html +29 -41
  35. package/docs/language-runtime-matrix.html +29 -41
  36. package/docs/media/module-sdk-reel-poster.webp +0 -0
  37. package/docs/media/module-sdk-reel.mp4 +0 -0
  38. package/docs/media/module-sdk-reel.webm +0 -0
  39. package/docs/media/reel/reel.css +53 -0
  40. package/docs/media/reel/reel.js +272 -0
  41. package/docs/module-bundle-runtime-plan.html +29 -41
  42. package/docs/module-publication-standard.html +29 -41
  43. package/docs/node-red-default-node-parity.html +29 -41
  44. package/docs/protect-and-sign.html +29 -41
  45. package/docs/protocol-installation.html +29 -41
  46. package/docs/publication-submission.html +29 -41
  47. package/docs/secrets-capability.html +29 -41
  48. package/docs/styles.css +89 -157
  49. package/docs/testing-harness.html +29 -41
  50. package/docs/tri-runtime-parity-gate.html +29 -41
  51. package/docs/tri-runtime-parity.html +29 -41
  52. package/package.json +5 -3
  53. package/schemas/runtime/FlowNotice.fbs +39 -0
  54. package/schemas/runtime/HostOps.fbs +453 -0
  55. package/schemas/runtime/HttpRequest.fbs +25 -0
  56. package/schemas/runtime/HttpResponse.fbs +24 -0
  57. package/schemas/runtime/IngestRequest.fbs +58 -0
  58. package/schemas/runtime/IngestResult.fbs +23 -0
  59. package/schemas/runtime/ModuleConfig.fbs +41 -0
  60. package/schemas/runtime/RuntimeCommon.fbs +33 -0
  61. package/schemas/runtime/TimerTick.fbs +18 -0
  62. package/src/compiler/compileModule.js +20 -2
  63. package/src/generated/runtime/aligned/HostOps_aligned.js +3924 -0
  64. package/src/generated/runtime/aligned/HostOps_aligned.ts +4620 -0
  65. package/src/generated/runtime/aligned/HostOps_enums.js +14 -0
  66. package/src/generated/runtime/aligned/HostOps_enums.ts +7 -0
  67. package/src/generated/runtime/cpp/FlowNotice_generated.h +367 -0
  68. package/src/generated/runtime/cpp/HostOps_aligned.h +3547 -0
  69. package/src/generated/runtime/cpp/HttpRequest_generated.h +317 -0
  70. package/src/generated/runtime/cpp/HttpResponse_generated.h +315 -0
  71. package/src/generated/runtime/cpp/IngestRequest_generated.h +764 -0
  72. package/src/generated/runtime/cpp/IngestResult_generated.h +319 -0
  73. package/src/generated/runtime/cpp/ModuleConfig_generated.h +604 -0
  74. package/src/generated/runtime/cpp/RuntimeCommon_generated.h +410 -0
  75. package/src/generated/runtime/cpp/TimerTick_generated.h +229 -0
  76. package/src/generated/runtime/sdn/runtime/ArchiveTarget.js +78 -0
  77. package/src/generated/runtime/sdn/runtime/ArchiveTarget.ts +104 -0
  78. package/src/generated/runtime/sdn/runtime/ConfigEntry.js +202 -0
  79. package/src/generated/runtime/sdn/runtime/ConfigEntry.ts +251 -0
  80. package/src/generated/runtime/sdn/runtime/ConfigTable.js +80 -0
  81. package/src/generated/runtime/sdn/runtime/ConfigTable.ts +97 -0
  82. package/src/generated/runtime/sdn/runtime/FlowNotice.js +196 -0
  83. package/src/generated/runtime/sdn/runtime/FlowNotice.ts +254 -0
  84. package/src/generated/runtime/sdn/runtime/Header.js +79 -0
  85. package/src/generated/runtime/sdn/runtime/Header.ts +100 -0
  86. package/src/generated/runtime/sdn/runtime/HttpRequest.js +216 -0
  87. package/src/generated/runtime/sdn/runtime/HttpRequest.ts +265 -0
  88. package/src/generated/runtime/sdn/runtime/HttpResponse.js +216 -0
  89. package/src/generated/runtime/sdn/runtime/HttpResponse.ts +267 -0
  90. package/src/generated/runtime/sdn/runtime/IngestRequest.js +121 -0
  91. package/src/generated/runtime/sdn/runtime/IngestRequest.ts +155 -0
  92. package/src/generated/runtime/sdn/runtime/IngestResult.js +184 -0
  93. package/src/generated/runtime/sdn/runtime/IngestResult.ts +235 -0
  94. package/src/generated/runtime/sdn/runtime/ModuleConfig.js +92 -0
  95. package/src/generated/runtime/sdn/runtime/ModuleConfig.ts +114 -0
  96. package/src/generated/runtime/sdn/runtime/Provenance.js +288 -0
  97. package/src/generated/runtime/sdn/runtime/Provenance.ts +368 -0
  98. package/src/generated/runtime/sdn/runtime/SourceTags.js +181 -0
  99. package/src/generated/runtime/sdn/runtime/SourceTags.ts +253 -0
  100. package/src/generated/runtime/sdn/runtime/TimerTick.js +119 -0
  101. package/src/generated/runtime/sdn/runtime/TimerTick.ts +148 -0
  102. package/src/generated/runtime/sdn/runtime/configValueKind.js +12 -0
  103. package/src/generated/runtime/sdn/runtime/configValueKind.ts +19 -0
  104. package/src/generated/runtime/sdn/runtime/flowNoticeKind.js +11 -0
  105. package/src/generated/runtime/sdn/runtime/flowNoticeKind.ts +34 -0
  106. package/src/generated/runtime/sdn/runtime/reconcileMode.js +9 -0
  107. package/src/generated/runtime/sdn/runtime/reconcileMode.ts +23 -0
  108. package/src/generated/runtime/sdn/runtime.js +16 -0
  109. package/src/generated/runtime/sdn/runtime.ts +17 -0
  110. package/src/host/abi.js +20 -3
  111. package/src/host/browserHost.js +2 -0
  112. package/src/host/cpp/typedHostcall.hpp +201 -0
  113. package/src/host/hostWorkerBundleSources.js +3 -3
  114. package/src/host/nodeHost.js +1 -0
  115. package/src/host/typedDispatch.js +230 -0
  116. package/src/index.d.ts +2 -0
  117. package/src/invoke/codec.js +3 -2
  118. package/src/licensing/records.js +10 -1
  119. package/src/standards/runtimeContracts.js +536 -0
  120. package/src/standards/sharedCatalog.js +27 -0
@@ -0,0 +1,3924 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
+ function __readPresence(view, base, bitIndex) {
5
+ const byteIndex = Math.floor(bitIndex / 8);
6
+ const mask = 1 << bitIndex % 8;
7
+ return (view.getUint8(base + byteIndex) & mask) !== 0;
8
+ }
9
+ function __writePresence(view, base, bitIndex, value) {
10
+ const byteIndex = Math.floor(bitIndex / 8);
11
+ const mask = 1 << bitIndex % 8;
12
+ const current = view.getUint8(base + byteIndex);
13
+ view.setUint8(base + byteIndex, value ? current | mask : current & ~mask);
14
+ }
15
+ function __decodeString(view, offset, maxLength) {
16
+ const length = Math.min(view.getUint8(offset), maxLength);
17
+ const bytes = new Uint8Array(view.buffer, view.byteOffset + offset + 1, length);
18
+ return new TextDecoder().decode(bytes);
19
+ }
20
+ function __encodeString(view, offset, maxLength, value) {
21
+ const encoder = new TextEncoder();
22
+ const bytes = encoder.encode(value);
23
+ const length = Math.min(bytes.length, maxLength);
24
+ view.setUint8(offset, length);
25
+ const target = new Uint8Array(view.buffer, view.byteOffset + offset + 1, maxLength);
26
+ target.fill(0);
27
+ target.set(bytes.subarray(0, length));
28
+ }
29
+ const _BoolValue = class _BoolValue {
30
+ constructor(buffer, offset = 0) {
31
+ __publicField(this, "buffer", buffer);
32
+ __publicField(this, "offset", offset);
33
+ __publicField(this, "view");
34
+ this.view = new DataView(buffer);
35
+ }
36
+ static fromPointer(buffer, offset = 0) {
37
+ return new _BoolValue(buffer, offset);
38
+ }
39
+ vALUE() {
40
+ return this.view.getUint8(this.offset + 0) !== 0;
41
+ }
42
+ setVALUE(value) {
43
+ this.view.setUint8(this.offset + 0, value ? 1 : 0);
44
+ }
45
+ };
46
+ __publicField(_BoolValue, "SIZE", 1);
47
+ __publicField(_BoolValue, "ALIGN", 1);
48
+ let BoolValue = _BoolValue;
49
+ const _NumberValue = class _NumberValue {
50
+ constructor(buffer, offset = 0) {
51
+ __publicField(this, "buffer", buffer);
52
+ __publicField(this, "offset", offset);
53
+ __publicField(this, "view");
54
+ this.view = new DataView(buffer);
55
+ }
56
+ static fromPointer(buffer, offset = 0) {
57
+ return new _NumberValue(buffer, offset);
58
+ }
59
+ vALUE() {
60
+ return this.view.getFloat64(this.offset + 0, true);
61
+ }
62
+ setVALUE(value) {
63
+ this.view.setFloat64(this.offset + 0, value, true);
64
+ }
65
+ };
66
+ __publicField(_NumberValue, "SIZE", 8);
67
+ __publicField(_NumberValue, "ALIGN", 8);
68
+ let NumberValue = _NumberValue;
69
+ const _TimeValue = class _TimeValue {
70
+ constructor(buffer, offset = 0) {
71
+ __publicField(this, "buffer", buffer);
72
+ __publicField(this, "offset", offset);
73
+ __publicField(this, "view");
74
+ this.view = new DataView(buffer);
75
+ }
76
+ static fromPointer(buffer, offset = 0) {
77
+ return new _TimeValue(buffer, offset);
78
+ }
79
+ uNIX_MS() {
80
+ return this.view.getBigUint64(this.offset + 0, true);
81
+ }
82
+ setUNIX_MS(value) {
83
+ this.view.setBigUint64(this.offset + 0, value, true);
84
+ }
85
+ };
86
+ __publicField(_TimeValue, "SIZE", 8);
87
+ __publicField(_TimeValue, "ALIGN", 8);
88
+ let TimeValue = _TimeValue;
89
+ const _CountValue = class _CountValue {
90
+ constructor(buffer, offset = 0) {
91
+ __publicField(this, "buffer", buffer);
92
+ __publicField(this, "offset", offset);
93
+ __publicField(this, "view");
94
+ this.view = new DataView(buffer);
95
+ }
96
+ static fromPointer(buffer, offset = 0) {
97
+ return new _CountValue(buffer, offset);
98
+ }
99
+ vALUE() {
100
+ return this.view.getBigUint64(this.offset + 0, true);
101
+ }
102
+ setVALUE(value) {
103
+ this.view.setBigUint64(this.offset + 0, value, true);
104
+ }
105
+ };
106
+ __publicField(_CountValue, "SIZE", 8);
107
+ __publicField(_CountValue, "ALIGN", 8);
108
+ let CountValue = _CountValue;
109
+ const _TextValue = class _TextValue {
110
+ constructor(buffer, offset = 0) {
111
+ __publicField(this, "buffer", buffer);
112
+ __publicField(this, "offset", offset);
113
+ __publicField(this, "view");
114
+ this.view = new DataView(buffer);
115
+ }
116
+ static fromPointer(buffer, offset = 0) {
117
+ return new _TextValue(buffer, offset);
118
+ }
119
+ hasVALUE() {
120
+ return __readPresence(this.view, this.offset, 0);
121
+ }
122
+ setHasVALUE(value) {
123
+ __writePresence(this.view, this.offset, 0, value);
124
+ }
125
+ vALUE() {
126
+ return __decodeString(this.view, this.offset + 1, 255);
127
+ }
128
+ setVALUE(value) {
129
+ __encodeString(this.view, this.offset + 1, 255, value);
130
+ this.setHasVALUE(true);
131
+ }
132
+ };
133
+ __publicField(_TextValue, "SIZE", 257);
134
+ __publicField(_TextValue, "ALIGN", 1);
135
+ let TextValue = _TextValue;
136
+ const _BodyRef = class _BodyRef {
137
+ constructor(buffer, offset = 0) {
138
+ __publicField(this, "buffer", buffer);
139
+ __publicField(this, "offset", offset);
140
+ __publicField(this, "view");
141
+ this.view = new DataView(buffer);
142
+ }
143
+ static fromPointer(buffer, offset = 0) {
144
+ return new _BodyRef(buffer, offset);
145
+ }
146
+ tOKEN() {
147
+ return this.view.getBigUint64(this.offset + 8, true);
148
+ }
149
+ setTOKEN(value) {
150
+ this.view.setBigUint64(this.offset + 8, value, true);
151
+ }
152
+ sIZE() {
153
+ return this.view.getBigUint64(this.offset + 16, true);
154
+ }
155
+ setSIZE(value) {
156
+ this.view.setBigUint64(this.offset + 16, value, true);
157
+ }
158
+ fRAMES() {
159
+ return this.view.getBigInt64(this.offset + 24, true);
160
+ }
161
+ setFRAMES(value) {
162
+ this.view.setBigInt64(this.offset + 24, value, true);
163
+ }
164
+ hasFNV1A64() {
165
+ return __readPresence(this.view, this.offset, 0);
166
+ }
167
+ setHasFNV1A64(value) {
168
+ __writePresence(this.view, this.offset, 0, value);
169
+ }
170
+ fNV1A64() {
171
+ return __decodeString(this.view, this.offset + 32, 16);
172
+ }
173
+ setFNV1A64(value) {
174
+ __encodeString(this.view, this.offset + 32, 16, value);
175
+ this.setHasFNV1A64(true);
176
+ }
177
+ };
178
+ __publicField(_BodyRef, "SIZE", 56);
179
+ __publicField(_BodyRef, "ALIGN", 8);
180
+ let BodyRef = _BodyRef;
181
+ const _HasCapabilityParams = class _HasCapabilityParams {
182
+ constructor(buffer, offset = 0) {
183
+ __publicField(this, "buffer", buffer);
184
+ __publicField(this, "offset", offset);
185
+ __publicField(this, "view");
186
+ this.view = new DataView(buffer);
187
+ }
188
+ static fromPointer(buffer, offset = 0) {
189
+ return new _HasCapabilityParams(buffer, offset);
190
+ }
191
+ hasCAPABILITY() {
192
+ return __readPresence(this.view, this.offset, 0);
193
+ }
194
+ setHasCAPABILITY(value) {
195
+ __writePresence(this.view, this.offset, 0, value);
196
+ }
197
+ cAPABILITY() {
198
+ return __decodeString(this.view, this.offset + 1, 64);
199
+ }
200
+ setCAPABILITY(value) {
201
+ __encodeString(this.view, this.offset + 1, 64, value);
202
+ this.setHasCAPABILITY(true);
203
+ }
204
+ };
205
+ __publicField(_HasCapabilityParams, "SIZE", 66);
206
+ __publicField(_HasCapabilityParams, "ALIGN", 1);
207
+ let HasCapabilityParams = _HasCapabilityParams;
208
+ const _RandomBytesParams = class _RandomBytesParams {
209
+ constructor(buffer, offset = 0) {
210
+ __publicField(this, "buffer", buffer);
211
+ __publicField(this, "offset", offset);
212
+ __publicField(this, "view");
213
+ this.view = new DataView(buffer);
214
+ }
215
+ static fromPointer(buffer, offset = 0) {
216
+ return new _RandomBytesParams(buffer, offset);
217
+ }
218
+ lENGTH() {
219
+ return this.view.getUint32(this.offset + 0, true);
220
+ }
221
+ setLENGTH(value) {
222
+ this.view.setUint32(this.offset + 0, value, true);
223
+ }
224
+ };
225
+ __publicField(_RandomBytesParams, "SIZE", 4);
226
+ __publicField(_RandomBytesParams, "ALIGN", 4);
227
+ let RandomBytesParams = _RandomBytesParams;
228
+ const _ConfigEntry = class _ConfigEntry {
229
+ constructor(buffer, offset = 0) {
230
+ __publicField(this, "buffer", buffer);
231
+ __publicField(this, "offset", offset);
232
+ __publicField(this, "view");
233
+ this.view = new DataView(buffer);
234
+ }
235
+ static fromPointer(buffer, offset = 0) {
236
+ return new _ConfigEntry(buffer, offset);
237
+ }
238
+ hasKEY() {
239
+ return __readPresence(this.view, this.offset, 0);
240
+ }
241
+ setHasKEY(value) {
242
+ __writePresence(this.view, this.offset, 0, value);
243
+ }
244
+ kEY() {
245
+ return __decodeString(this.view, this.offset + 1, 255);
246
+ }
247
+ setKEY(value) {
248
+ __encodeString(this.view, this.offset + 1, 255, value);
249
+ this.setHasKEY(true);
250
+ }
251
+ kIND() {
252
+ return this.view.getUint8(this.offset + 257);
253
+ }
254
+ setKIND(value) {
255
+ this.view.setUint8(this.offset + 257, value);
256
+ }
257
+ hasSTRING_VALUE() {
258
+ return __readPresence(this.view, this.offset, 1);
259
+ }
260
+ setHasSTRING_VALUE(value) {
261
+ __writePresence(this.view, this.offset, 1, value);
262
+ }
263
+ sTRING_VALUE() {
264
+ return __decodeString(this.view, this.offset + 258, 255);
265
+ }
266
+ setSTRING_VALUE(value) {
267
+ __encodeString(this.view, this.offset + 258, 255, value);
268
+ this.setHasSTRING_VALUE(true);
269
+ }
270
+ nUMBER_VALUE() {
271
+ return this.view.getFloat64(this.offset + 520, true);
272
+ }
273
+ setNUMBER_VALUE(value) {
274
+ this.view.setFloat64(this.offset + 520, value, true);
275
+ }
276
+ bOOL_VALUE() {
277
+ return this.view.getUint8(this.offset + 528) !== 0;
278
+ }
279
+ setBOOL_VALUE(value) {
280
+ this.view.setUint8(this.offset + 528, value ? 1 : 0);
281
+ }
282
+ };
283
+ __publicField(_ConfigEntry, "SIZE", 536);
284
+ __publicField(_ConfigEntry, "ALIGN", 8);
285
+ let ConfigEntry = _ConfigEntry;
286
+ const _HttpParams = class _HttpParams {
287
+ constructor(buffer, offset = 0) {
288
+ __publicField(this, "buffer", buffer);
289
+ __publicField(this, "offset", offset);
290
+ __publicField(this, "view");
291
+ this.view = new DataView(buffer);
292
+ }
293
+ static fromPointer(buffer, offset = 0) {
294
+ return new _HttpParams(buffer, offset);
295
+ }
296
+ hasMETHOD() {
297
+ return __readPresence(this.view, this.offset, 0);
298
+ }
299
+ setHasMETHOD(value) {
300
+ __writePresence(this.view, this.offset, 0, value);
301
+ }
302
+ mETHOD() {
303
+ return __decodeString(this.view, this.offset + 1, 16);
304
+ }
305
+ setMETHOD(value) {
306
+ __encodeString(this.view, this.offset + 1, 16, value);
307
+ this.setHasMETHOD(true);
308
+ }
309
+ tIMEOUT_MS() {
310
+ return this.view.getUint32(this.offset + 20, true);
311
+ }
312
+ setTIMEOUT_MS(value) {
313
+ this.view.setUint32(this.offset + 20, value, true);
314
+ }
315
+ mAX_BYTES() {
316
+ return this.view.getBigUint64(this.offset + 24, true);
317
+ }
318
+ setMAX_BYTES(value) {
319
+ this.view.setBigUint64(this.offset + 24, value, true);
320
+ }
321
+ nO_REDIRECTS() {
322
+ return this.view.getUint8(this.offset + 32) !== 0;
323
+ }
324
+ setNO_REDIRECTS(value) {
325
+ this.view.setUint8(this.offset + 32, value ? 1 : 0);
326
+ }
327
+ };
328
+ __publicField(_HttpParams, "SIZE", 40);
329
+ __publicField(_HttpParams, "ALIGN", 8);
330
+ let HttpParams = _HttpParams;
331
+ const _HttpResult = class _HttpResult {
332
+ constructor(buffer, offset = 0) {
333
+ __publicField(this, "buffer", buffer);
334
+ __publicField(this, "offset", offset);
335
+ __publicField(this, "view");
336
+ this.view = new DataView(buffer);
337
+ }
338
+ static fromPointer(buffer, offset = 0) {
339
+ return new _HttpResult(buffer, offset);
340
+ }
341
+ sTATUS() {
342
+ return this.view.getInt32(this.offset + 0, true);
343
+ }
344
+ setSTATUS(value) {
345
+ this.view.setInt32(this.offset + 0, value, true);
346
+ }
347
+ rETRIEVED_MS() {
348
+ return this.view.getBigUint64(this.offset + 8, true);
349
+ }
350
+ setRETRIEVED_MS(value) {
351
+ this.view.setBigUint64(this.offset + 8, value, true);
352
+ }
353
+ };
354
+ __publicField(_HttpResult, "SIZE", 16);
355
+ __publicField(_HttpResult, "ALIGN", 8);
356
+ let HttpResult = _HttpResult;
357
+ const _StorageQueryParams = class _StorageQueryParams {
358
+ constructor(buffer, offset = 0) {
359
+ __publicField(this, "buffer", buffer);
360
+ __publicField(this, "offset", offset);
361
+ __publicField(this, "view");
362
+ this.view = new DataView(buffer);
363
+ }
364
+ static fromPointer(buffer, offset = 0) {
365
+ return new _StorageQueryParams(buffer, offset);
366
+ }
367
+ hasSCHEMA() {
368
+ return __readPresence(this.view, this.offset, 0);
369
+ }
370
+ setHasSCHEMA(value) {
371
+ __writePresence(this.view, this.offset, 0, value);
372
+ }
373
+ sCHEMA() {
374
+ return __decodeString(this.view, this.offset + 1, 64);
375
+ }
376
+ setSCHEMA(value) {
377
+ __encodeString(this.view, this.offset + 1, 64, value);
378
+ this.setHasSCHEMA(true);
379
+ }
380
+ hasDAY() {
381
+ return __readPresence(this.view, this.offset, 1);
382
+ }
383
+ setHasDAY(value) {
384
+ __writePresence(this.view, this.offset, 1, value);
385
+ }
386
+ dAY() {
387
+ return __decodeString(this.view, this.offset + 66, 16);
388
+ }
389
+ setDAY(value) {
390
+ __encodeString(this.view, this.offset + 66, 16, value);
391
+ this.setHasDAY(true);
392
+ }
393
+ hasENTITY_ID() {
394
+ return __readPresence(this.view, this.offset, 2);
395
+ }
396
+ setHasENTITY_ID(value) {
397
+ __writePresence(this.view, this.offset, 2, value);
398
+ }
399
+ eNTITY_ID() {
400
+ return __decodeString(this.view, this.offset + 83, 255);
401
+ }
402
+ setENTITY_ID(value) {
403
+ __encodeString(this.view, this.offset + 83, 255, value);
404
+ this.setHasENTITY_ID(true);
405
+ }
406
+ nORAD_CAT_ID() {
407
+ return this.view.getUint32(this.offset + 340, true);
408
+ }
409
+ setNORAD_CAT_ID(value) {
410
+ this.view.setUint32(this.offset + 340, value, true);
411
+ }
412
+ lIMIT() {
413
+ return this.view.getUint32(this.offset + 344, true);
414
+ }
415
+ setLIMIT(value) {
416
+ this.view.setUint32(this.offset + 344, value, true);
417
+ }
418
+ };
419
+ __publicField(_StorageQueryParams, "SIZE", 348);
420
+ __publicField(_StorageQueryParams, "ALIGN", 4);
421
+ let StorageQueryParams = _StorageQueryParams;
422
+ const _StoredRecordMeta = class _StoredRecordMeta {
423
+ constructor(buffer, offset = 0) {
424
+ __publicField(this, "buffer", buffer);
425
+ __publicField(this, "offset", offset);
426
+ __publicField(this, "view");
427
+ this.view = new DataView(buffer);
428
+ }
429
+ static fromPointer(buffer, offset = 0) {
430
+ return new _StoredRecordMeta(buffer, offset);
431
+ }
432
+ hasCID() {
433
+ return __readPresence(this.view, this.offset, 0);
434
+ }
435
+ setHasCID(value) {
436
+ __writePresence(this.view, this.offset, 0, value);
437
+ }
438
+ cID() {
439
+ return __decodeString(this.view, this.offset + 1, 128);
440
+ }
441
+ setCID(value) {
442
+ __encodeString(this.view, this.offset + 1, 128, value);
443
+ this.setHasCID(true);
444
+ }
445
+ rOW_ID() {
446
+ return this.view.getBigInt64(this.offset + 136, true);
447
+ }
448
+ setROW_ID(value) {
449
+ this.view.setBigInt64(this.offset + 136, value, true);
450
+ }
451
+ hasPEER_ID() {
452
+ return __readPresence(this.view, this.offset, 1);
453
+ }
454
+ setHasPEER_ID(value) {
455
+ __writePresence(this.view, this.offset, 1, value);
456
+ }
457
+ pEER_ID() {
458
+ return __decodeString(this.view, this.offset + 144, 128);
459
+ }
460
+ setPEER_ID(value) {
461
+ __encodeString(this.view, this.offset + 144, 128, value);
462
+ this.setHasPEER_ID(true);
463
+ }
464
+ tIMESTAMP_MS() {
465
+ return this.view.getBigInt64(this.offset + 280, true);
466
+ }
467
+ setTIMESTAMP_MS(value) {
468
+ this.view.setBigInt64(this.offset + 280, value, true);
469
+ }
470
+ mATERIALIZED_MS() {
471
+ return this.view.getBigInt64(this.offset + 288, true);
472
+ }
473
+ setMATERIALIZED_MS(value) {
474
+ this.view.setBigInt64(this.offset + 288, value, true);
475
+ }
476
+ lENGTH() {
477
+ return this.view.getUint32(this.offset + 296, true);
478
+ }
479
+ setLENGTH(value) {
480
+ this.view.setUint32(this.offset + 296, value, true);
481
+ }
482
+ hasPROVIDER_ID() {
483
+ return __readPresence(this.view, this.offset, 2);
484
+ }
485
+ setHasPROVIDER_ID(value) {
486
+ __writePresence(this.view, this.offset, 2, value);
487
+ }
488
+ pROVIDER_ID() {
489
+ return __decodeString(this.view, this.offset + 300, 128);
490
+ }
491
+ setPROVIDER_ID(value) {
492
+ __encodeString(this.view, this.offset + 300, 128, value);
493
+ this.setHasPROVIDER_ID(true);
494
+ }
495
+ hasSOURCE_NAME() {
496
+ return __readPresence(this.view, this.offset, 3);
497
+ }
498
+ setHasSOURCE_NAME(value) {
499
+ __writePresence(this.view, this.offset, 3, value);
500
+ }
501
+ sOURCE_NAME() {
502
+ return __decodeString(this.view, this.offset + 429, 128);
503
+ }
504
+ setSOURCE_NAME(value) {
505
+ __encodeString(this.view, this.offset + 429, 128, value);
506
+ this.setHasSOURCE_NAME(true);
507
+ }
508
+ hasBATCH_ID() {
509
+ return __readPresence(this.view, this.offset, 4);
510
+ }
511
+ setHasBATCH_ID(value) {
512
+ __writePresence(this.view, this.offset, 4, value);
513
+ }
514
+ bATCH_ID() {
515
+ return __decodeString(this.view, this.offset + 558, 128);
516
+ }
517
+ setBATCH_ID(value) {
518
+ __encodeString(this.view, this.offset + 558, 128, value);
519
+ this.setHasBATCH_ID(true);
520
+ }
521
+ hasPRODUCER_PEER_ID() {
522
+ return __readPresence(this.view, this.offset, 5);
523
+ }
524
+ setHasPRODUCER_PEER_ID(value) {
525
+ __writePresence(this.view, this.offset, 5, value);
526
+ }
527
+ pRODUCER_PEER_ID() {
528
+ return __decodeString(this.view, this.offset + 687, 128);
529
+ }
530
+ setPRODUCER_PEER_ID(value) {
531
+ __encodeString(this.view, this.offset + 687, 128, value);
532
+ this.setHasPRODUCER_PEER_ID(true);
533
+ }
534
+ hasLICENSE() {
535
+ return __readPresence(this.view, this.offset, 6);
536
+ }
537
+ setHasLICENSE(value) {
538
+ __writePresence(this.view, this.offset, 6, value);
539
+ }
540
+ lICENSE() {
541
+ return __decodeString(this.view, this.offset + 816, 64);
542
+ }
543
+ setLICENSE(value) {
544
+ __encodeString(this.view, this.offset + 816, 64, value);
545
+ this.setHasLICENSE(true);
546
+ }
547
+ };
548
+ __publicField(_StoredRecordMeta, "SIZE", 888);
549
+ __publicField(_StoredRecordMeta, "ALIGN", 8);
550
+ let StoredRecordMeta = _StoredRecordMeta;
551
+ const _StorageWriteParams = class _StorageWriteParams {
552
+ constructor(buffer, offset = 0) {
553
+ __publicField(this, "buffer", buffer);
554
+ __publicField(this, "offset", offset);
555
+ __publicField(this, "view");
556
+ this.view = new DataView(buffer);
557
+ }
558
+ static fromPointer(buffer, offset = 0) {
559
+ return new _StorageWriteParams(buffer, offset);
560
+ }
561
+ hasSCHEMA() {
562
+ return __readPresence(this.view, this.offset, 0);
563
+ }
564
+ setHasSCHEMA(value) {
565
+ __writePresence(this.view, this.offset, 0, value);
566
+ }
567
+ sCHEMA() {
568
+ return __decodeString(this.view, this.offset + 1, 64);
569
+ }
570
+ setSCHEMA(value) {
571
+ __encodeString(this.view, this.offset + 1, 64, value);
572
+ this.setHasSCHEMA(true);
573
+ }
574
+ };
575
+ __publicField(_StorageWriteParams, "SIZE", 66);
576
+ __publicField(_StorageWriteParams, "ALIGN", 1);
577
+ let StorageWriteParams = _StorageWriteParams;
578
+ const _StorageWriteResult = class _StorageWriteResult {
579
+ constructor(buffer, offset = 0) {
580
+ __publicField(this, "buffer", buffer);
581
+ __publicField(this, "offset", offset);
582
+ __publicField(this, "view");
583
+ this.view = new DataView(buffer);
584
+ }
585
+ static fromPointer(buffer, offset = 0) {
586
+ return new _StorageWriteResult(buffer, offset);
587
+ }
588
+ hasCID() {
589
+ return __readPresence(this.view, this.offset, 0);
590
+ }
591
+ setHasCID(value) {
592
+ __writePresence(this.view, this.offset, 0, value);
593
+ }
594
+ cID() {
595
+ return __decodeString(this.view, this.offset + 1, 128);
596
+ }
597
+ setCID(value) {
598
+ __encodeString(this.view, this.offset + 1, 128, value);
599
+ this.setHasCID(true);
600
+ }
601
+ };
602
+ __publicField(_StorageWriteResult, "SIZE", 130);
603
+ __publicField(_StorageWriteResult, "ALIGN", 1);
604
+ let StorageWriteResult = _StorageWriteResult;
605
+ const _StorageDeleteParams = class _StorageDeleteParams {
606
+ constructor(buffer, offset = 0) {
607
+ __publicField(this, "buffer", buffer);
608
+ __publicField(this, "offset", offset);
609
+ __publicField(this, "view");
610
+ this.view = new DataView(buffer);
611
+ }
612
+ static fromPointer(buffer, offset = 0) {
613
+ return new _StorageDeleteParams(buffer, offset);
614
+ }
615
+ hasSCHEMA() {
616
+ return __readPresence(this.view, this.offset, 0);
617
+ }
618
+ setHasSCHEMA(value) {
619
+ __writePresence(this.view, this.offset, 0, value);
620
+ }
621
+ sCHEMA() {
622
+ return __decodeString(this.view, this.offset + 1, 64);
623
+ }
624
+ setSCHEMA(value) {
625
+ __encodeString(this.view, this.offset + 1, 64, value);
626
+ this.setHasSCHEMA(true);
627
+ }
628
+ hasCID() {
629
+ return __readPresence(this.view, this.offset, 1);
630
+ }
631
+ setHasCID(value) {
632
+ __writePresence(this.view, this.offset, 1, value);
633
+ }
634
+ cID() {
635
+ return __decodeString(this.view, this.offset + 66, 128);
636
+ }
637
+ setCID(value) {
638
+ __encodeString(this.view, this.offset + 66, 128, value);
639
+ this.setHasCID(true);
640
+ }
641
+ };
642
+ __publicField(_StorageDeleteParams, "SIZE", 195);
643
+ __publicField(_StorageDeleteParams, "ALIGN", 1);
644
+ let StorageDeleteParams = _StorageDeleteParams;
645
+ const _StorageExpireParams = class _StorageExpireParams {
646
+ constructor(buffer, offset = 0) {
647
+ __publicField(this, "buffer", buffer);
648
+ __publicField(this, "offset", offset);
649
+ __publicField(this, "view");
650
+ this.view = new DataView(buffer);
651
+ }
652
+ static fromPointer(buffer, offset = 0) {
653
+ return new _StorageExpireParams(buffer, offset);
654
+ }
655
+ hasSCHEMA() {
656
+ return __readPresence(this.view, this.offset, 0);
657
+ }
658
+ setHasSCHEMA(value) {
659
+ __writePresence(this.view, this.offset, 0, value);
660
+ }
661
+ sCHEMA() {
662
+ return __decodeString(this.view, this.offset + 1, 64);
663
+ }
664
+ setSCHEMA(value) {
665
+ __encodeString(this.view, this.offset + 1, 64, value);
666
+ this.setHasSCHEMA(true);
667
+ }
668
+ hasPROVIDER_ID() {
669
+ return __readPresence(this.view, this.offset, 1);
670
+ }
671
+ setHasPROVIDER_ID(value) {
672
+ __writePresence(this.view, this.offset, 1, value);
673
+ }
674
+ pROVIDER_ID() {
675
+ return __decodeString(this.view, this.offset + 66, 128);
676
+ }
677
+ setPROVIDER_ID(value) {
678
+ __encodeString(this.view, this.offset + 66, 128, value);
679
+ this.setHasPROVIDER_ID(true);
680
+ }
681
+ hasSOURCE_NAME() {
682
+ return __readPresence(this.view, this.offset, 2);
683
+ }
684
+ setHasSOURCE_NAME(value) {
685
+ __writePresence(this.view, this.offset, 2, value);
686
+ }
687
+ sOURCE_NAME() {
688
+ return __decodeString(this.view, this.offset + 195, 128);
689
+ }
690
+ setSOURCE_NAME(value) {
691
+ __encodeString(this.view, this.offset + 195, 128, value);
692
+ this.setHasSOURCE_NAME(true);
693
+ }
694
+ bEFORE_MS() {
695
+ return this.view.getBigUint64(this.offset + 328, true);
696
+ }
697
+ setBEFORE_MS(value) {
698
+ this.view.setBigUint64(this.offset + 328, value, true);
699
+ }
700
+ bATCH() {
701
+ return this.view.getUint32(this.offset + 336, true);
702
+ }
703
+ setBATCH(value) {
704
+ this.view.setUint32(this.offset + 336, value, true);
705
+ }
706
+ mAX_DELETES() {
707
+ return this.view.getUint32(this.offset + 340, true);
708
+ }
709
+ setMAX_DELETES(value) {
710
+ this.view.setUint32(this.offset + 340, value, true);
711
+ }
712
+ };
713
+ __publicField(_StorageExpireParams, "SIZE", 344);
714
+ __publicField(_StorageExpireParams, "ALIGN", 8);
715
+ let StorageExpireParams = _StorageExpireParams;
716
+ const _StorageExpireResult = class _StorageExpireResult {
717
+ constructor(buffer, offset = 0) {
718
+ __publicField(this, "buffer", buffer);
719
+ __publicField(this, "offset", offset);
720
+ __publicField(this, "view");
721
+ this.view = new DataView(buffer);
722
+ }
723
+ static fromPointer(buffer, offset = 0) {
724
+ return new _StorageExpireResult(buffer, offset);
725
+ }
726
+ dELETED() {
727
+ return this.view.getBigUint64(this.offset + 0, true);
728
+ }
729
+ setDELETED(value) {
730
+ this.view.setBigUint64(this.offset + 0, value, true);
731
+ }
732
+ mISSING() {
733
+ return this.view.getBigUint64(this.offset + 8, true);
734
+ }
735
+ setMISSING(value) {
736
+ this.view.setBigUint64(this.offset + 8, value, true);
737
+ }
738
+ cAPPED() {
739
+ return this.view.getUint8(this.offset + 16) !== 0;
740
+ }
741
+ setCAPPED(value) {
742
+ this.view.setUint8(this.offset + 16, value ? 1 : 0);
743
+ }
744
+ };
745
+ __publicField(_StorageExpireResult, "SIZE", 24);
746
+ __publicField(_StorageExpireResult, "ALIGN", 8);
747
+ let StorageExpireResult = _StorageExpireResult;
748
+ const _StorageIngestParams = class _StorageIngestParams {
749
+ constructor(buffer, offset = 0) {
750
+ __publicField(this, "buffer", buffer);
751
+ __publicField(this, "offset", offset);
752
+ __publicField(this, "view");
753
+ this.view = new DataView(buffer);
754
+ }
755
+ static fromPointer(buffer, offset = 0) {
756
+ return new _StorageIngestParams(buffer, offset);
757
+ }
758
+ hasSCHEMA() {
759
+ return __readPresence(this.view, this.offset, 0);
760
+ }
761
+ setHasSCHEMA(value) {
762
+ __writePresence(this.view, this.offset, 0, value);
763
+ }
764
+ sCHEMA() {
765
+ return __decodeString(this.view, this.offset + 2, 64);
766
+ }
767
+ setSCHEMA(value) {
768
+ __encodeString(this.view, this.offset + 2, 64, value);
769
+ this.setHasSCHEMA(true);
770
+ }
771
+ hasPROVIDER_ID() {
772
+ return __readPresence(this.view, this.offset, 1);
773
+ }
774
+ setHasPROVIDER_ID(value) {
775
+ __writePresence(this.view, this.offset, 1, value);
776
+ }
777
+ pROVIDER_ID() {
778
+ return __decodeString(this.view, this.offset + 67, 128);
779
+ }
780
+ setPROVIDER_ID(value) {
781
+ __encodeString(this.view, this.offset + 67, 128, value);
782
+ this.setHasPROVIDER_ID(true);
783
+ }
784
+ hasSOURCE_NAME() {
785
+ return __readPresence(this.view, this.offset, 2);
786
+ }
787
+ setHasSOURCE_NAME(value) {
788
+ __writePresence(this.view, this.offset, 2, value);
789
+ }
790
+ sOURCE_NAME() {
791
+ return __decodeString(this.view, this.offset + 196, 128);
792
+ }
793
+ setSOURCE_NAME(value) {
794
+ __encodeString(this.view, this.offset + 196, 128, value);
795
+ this.setHasSOURCE_NAME(true);
796
+ }
797
+ hasBATCH_ID() {
798
+ return __readPresence(this.view, this.offset, 3);
799
+ }
800
+ setHasBATCH_ID(value) {
801
+ __writePresence(this.view, this.offset, 3, value);
802
+ }
803
+ bATCH_ID() {
804
+ return __decodeString(this.view, this.offset + 325, 128);
805
+ }
806
+ setBATCH_ID(value) {
807
+ __encodeString(this.view, this.offset + 325, 128, value);
808
+ this.setHasBATCH_ID(true);
809
+ }
810
+ hasSOURCE_URL() {
811
+ return __readPresence(this.view, this.offset, 4);
812
+ }
813
+ setHasSOURCE_URL(value) {
814
+ __writePresence(this.view, this.offset, 4, value);
815
+ }
816
+ sOURCE_URL() {
817
+ return __decodeString(this.view, this.offset + 454, 255);
818
+ }
819
+ setSOURCE_URL(value) {
820
+ __encodeString(this.view, this.offset + 454, 255, value);
821
+ this.setHasSOURCE_URL(true);
822
+ }
823
+ hasCONTENT_KEY_ID() {
824
+ return __readPresence(this.view, this.offset, 5);
825
+ }
826
+ setHasCONTENT_KEY_ID(value) {
827
+ __writePresence(this.view, this.offset, 5, value);
828
+ }
829
+ cONTENT_KEY_ID() {
830
+ return __decodeString(this.view, this.offset + 710, 64);
831
+ }
832
+ setCONTENT_KEY_ID(value) {
833
+ __encodeString(this.view, this.offset + 710, 64, value);
834
+ this.setHasCONTENT_KEY_ID(true);
835
+ }
836
+ hasSOURCE_PEER() {
837
+ return __readPresence(this.view, this.offset, 6);
838
+ }
839
+ setHasSOURCE_PEER(value) {
840
+ __writePresence(this.view, this.offset, 6, value);
841
+ }
842
+ sOURCE_PEER() {
843
+ return __decodeString(this.view, this.offset + 775, 128);
844
+ }
845
+ setSOURCE_PEER(value) {
846
+ __encodeString(this.view, this.offset + 775, 128, value);
847
+ this.setHasSOURCE_PEER(true);
848
+ }
849
+ hasLICENSE() {
850
+ return __readPresence(this.view, this.offset, 7);
851
+ }
852
+ setHasLICENSE(value) {
853
+ __writePresence(this.view, this.offset, 7, value);
854
+ }
855
+ lICENSE() {
856
+ return __decodeString(this.view, this.offset + 904, 64);
857
+ }
858
+ setLICENSE(value) {
859
+ __encodeString(this.view, this.offset + 904, 64, value);
860
+ this.setHasLICENSE(true);
861
+ }
862
+ hasLICENSE_URL() {
863
+ return __readPresence(this.view, this.offset, 8);
864
+ }
865
+ setHasLICENSE_URL(value) {
866
+ __writePresence(this.view, this.offset, 8, value);
867
+ }
868
+ lICENSE_URL() {
869
+ return __decodeString(this.view, this.offset + 969, 255);
870
+ }
871
+ setLICENSE_URL(value) {
872
+ __encodeString(this.view, this.offset + 969, 255, value);
873
+ this.setHasLICENSE_URL(true);
874
+ }
875
+ hasCITATION() {
876
+ return __readPresence(this.view, this.offset, 9);
877
+ }
878
+ setHasCITATION(value) {
879
+ __writePresence(this.view, this.offset, 9, value);
880
+ }
881
+ cITATION() {
882
+ return __decodeString(this.view, this.offset + 1225, 255);
883
+ }
884
+ setCITATION(value) {
885
+ __encodeString(this.view, this.offset + 1225, 255, value);
886
+ this.setHasCITATION(true);
887
+ }
888
+ sHARE_ALIKE() {
889
+ return this.view.getUint8(this.offset + 1481) !== 0;
890
+ }
891
+ setSHARE_ALIKE(value) {
892
+ this.view.setUint8(this.offset + 1481, value ? 1 : 0);
893
+ }
894
+ rECONCILE() {
895
+ return this.view.getUint8(this.offset + 1482);
896
+ }
897
+ setRECONCILE(value) {
898
+ this.view.setUint8(this.offset + 1482, value);
899
+ }
900
+ hasARCHIVE_SOURCE() {
901
+ return __readPresence(this.view, this.offset, 10);
902
+ }
903
+ setHasARCHIVE_SOURCE(value) {
904
+ __writePresence(this.view, this.offset, 10, value);
905
+ }
906
+ aRCHIVE_SOURCE() {
907
+ return __decodeString(this.view, this.offset + 1483, 128);
908
+ }
909
+ setARCHIVE_SOURCE(value) {
910
+ __encodeString(this.view, this.offset + 1483, 128, value);
911
+ this.setHasARCHIVE_SOURCE(true);
912
+ }
913
+ hasARCHIVE_NAME() {
914
+ return __readPresence(this.view, this.offset, 11);
915
+ }
916
+ setHasARCHIVE_NAME(value) {
917
+ __writePresence(this.view, this.offset, 11, value);
918
+ }
919
+ aRCHIVE_NAME() {
920
+ return __decodeString(this.view, this.offset + 1612, 255);
921
+ }
922
+ setARCHIVE_NAME(value) {
923
+ __encodeString(this.view, this.offset + 1612, 255, value);
924
+ this.setHasARCHIVE_NAME(true);
925
+ }
926
+ };
927
+ __publicField(_StorageIngestParams, "SIZE", 1868);
928
+ __publicField(_StorageIngestParams, "ALIGN", 1);
929
+ let StorageIngestParams = _StorageIngestParams;
930
+ const _Provenance = class _Provenance {
931
+ constructor(buffer, offset = 0) {
932
+ __publicField(this, "buffer", buffer);
933
+ __publicField(this, "offset", offset);
934
+ __publicField(this, "view");
935
+ this.view = new DataView(buffer);
936
+ }
937
+ static fromPointer(buffer, offset = 0) {
938
+ return new _Provenance(buffer, offset);
939
+ }
940
+ hasSOURCE_URL() {
941
+ return __readPresence(this.view, this.offset, 0);
942
+ }
943
+ setHasSOURCE_URL(value) {
944
+ __writePresence(this.view, this.offset, 0, value);
945
+ }
946
+ sOURCE_URL() {
947
+ return __decodeString(this.view, this.offset + 1, 255);
948
+ }
949
+ setSOURCE_URL(value) {
950
+ __encodeString(this.view, this.offset + 1, 255, value);
951
+ this.setHasSOURCE_URL(true);
952
+ }
953
+ hTTP_STATUS() {
954
+ return this.view.getInt32(this.offset + 260, true);
955
+ }
956
+ setHTTP_STATUS(value) {
957
+ this.view.setInt32(this.offset + 260, value, true);
958
+ }
959
+ hasETAG() {
960
+ return __readPresence(this.view, this.offset, 1);
961
+ }
962
+ setHasETAG(value) {
963
+ __writePresence(this.view, this.offset, 1, value);
964
+ }
965
+ eTAG() {
966
+ return __decodeString(this.view, this.offset + 264, 128);
967
+ }
968
+ setETAG(value) {
969
+ __encodeString(this.view, this.offset + 264, 128, value);
970
+ this.setHasETAG(true);
971
+ }
972
+ hasLAST_MODIFIED() {
973
+ return __readPresence(this.view, this.offset, 2);
974
+ }
975
+ setHasLAST_MODIFIED(value) {
976
+ __writePresence(this.view, this.offset, 2, value);
977
+ }
978
+ lAST_MODIFIED() {
979
+ return __decodeString(this.view, this.offset + 393, 64);
980
+ }
981
+ setLAST_MODIFIED(value) {
982
+ __encodeString(this.view, this.offset + 393, 64, value);
983
+ this.setHasLAST_MODIFIED(true);
984
+ }
985
+ hasCONTENT_TYPE() {
986
+ return __readPresence(this.view, this.offset, 3);
987
+ }
988
+ setHasCONTENT_TYPE(value) {
989
+ __writePresence(this.view, this.offset, 3, value);
990
+ }
991
+ cONTENT_TYPE() {
992
+ return __decodeString(this.view, this.offset + 458, 128);
993
+ }
994
+ setCONTENT_TYPE(value) {
995
+ __encodeString(this.view, this.offset + 458, 128, value);
996
+ this.setHasCONTENT_TYPE(true);
997
+ }
998
+ rETRIEVED_MS() {
999
+ return this.view.getBigUint64(this.offset + 592, true);
1000
+ }
1001
+ setRETRIEVED_MS(value) {
1002
+ this.view.setBigUint64(this.offset + 592, value, true);
1003
+ }
1004
+ hasPARSER() {
1005
+ return __readPresence(this.view, this.offset, 4);
1006
+ }
1007
+ setHasPARSER(value) {
1008
+ __writePresence(this.view, this.offset, 4, value);
1009
+ }
1010
+ pARSER() {
1011
+ return __decodeString(this.view, this.offset + 600, 64);
1012
+ }
1013
+ setPARSER(value) {
1014
+ __encodeString(this.view, this.offset + 600, 64, value);
1015
+ this.setHasPARSER(true);
1016
+ }
1017
+ hasPARSER_VERSION() {
1018
+ return __readPresence(this.view, this.offset, 5);
1019
+ }
1020
+ setHasPARSER_VERSION(value) {
1021
+ __writePresence(this.view, this.offset, 5, value);
1022
+ }
1023
+ pARSER_VERSION() {
1024
+ return __decodeString(this.view, this.offset + 665, 32);
1025
+ }
1026
+ setPARSER_VERSION(value) {
1027
+ __encodeString(this.view, this.offset + 665, 32, value);
1028
+ this.setHasPARSER_VERSION(true);
1029
+ }
1030
+ hasSOURCE_SHA256() {
1031
+ return __readPresence(this.view, this.offset, 6);
1032
+ }
1033
+ setHasSOURCE_SHA256(value) {
1034
+ __writePresence(this.view, this.offset, 6, value);
1035
+ }
1036
+ sOURCE_SHA256() {
1037
+ return __decodeString(this.view, this.offset + 698, 64);
1038
+ }
1039
+ setSOURCE_SHA256(value) {
1040
+ __encodeString(this.view, this.offset + 698, 64, value);
1041
+ this.setHasSOURCE_SHA256(true);
1042
+ }
1043
+ hasNORMALIZED_SHA256() {
1044
+ return __readPresence(this.view, this.offset, 7);
1045
+ }
1046
+ setHasNORMALIZED_SHA256(value) {
1047
+ __writePresence(this.view, this.offset, 7, value);
1048
+ }
1049
+ nORMALIZED_SHA256() {
1050
+ return __decodeString(this.view, this.offset + 763, 64);
1051
+ }
1052
+ setNORMALIZED_SHA256(value) {
1053
+ __encodeString(this.view, this.offset + 763, 64, value);
1054
+ this.setHasNORMALIZED_SHA256(true);
1055
+ }
1056
+ nORMALIZED_COUNT() {
1057
+ return this.view.getBigUint64(this.offset + 832, true);
1058
+ }
1059
+ setNORMALIZED_COUNT(value) {
1060
+ this.view.setBigUint64(this.offset + 832, value, true);
1061
+ }
1062
+ fROM_CACHE() {
1063
+ return this.view.getUint8(this.offset + 840) !== 0;
1064
+ }
1065
+ setFROM_CACHE(value) {
1066
+ this.view.setUint8(this.offset + 840, value ? 1 : 0);
1067
+ }
1068
+ };
1069
+ __publicField(_Provenance, "SIZE", 848);
1070
+ __publicField(_Provenance, "ALIGN", 8);
1071
+ let Provenance = _Provenance;
1072
+ const _StorageIngestResult = class _StorageIngestResult {
1073
+ constructor(buffer, offset = 0) {
1074
+ __publicField(this, "buffer", buffer);
1075
+ __publicField(this, "offset", offset);
1076
+ __publicField(this, "view");
1077
+ this.view = new DataView(buffer);
1078
+ }
1079
+ static fromPointer(buffer, offset = 0) {
1080
+ return new _StorageIngestResult(buffer, offset);
1081
+ }
1082
+ hasSCHEMA() {
1083
+ return __readPresence(this.view, this.offset, 0);
1084
+ }
1085
+ setHasSCHEMA(value) {
1086
+ __writePresence(this.view, this.offset, 0, value);
1087
+ }
1088
+ sCHEMA() {
1089
+ return __decodeString(this.view, this.offset + 1, 64);
1090
+ }
1091
+ setSCHEMA(value) {
1092
+ __encodeString(this.view, this.offset + 1, 64, value);
1093
+ this.setHasSCHEMA(true);
1094
+ }
1095
+ hasBATCH_ID() {
1096
+ return __readPresence(this.view, this.offset, 1);
1097
+ }
1098
+ setHasBATCH_ID(value) {
1099
+ __writePresence(this.view, this.offset, 1, value);
1100
+ }
1101
+ bATCH_ID() {
1102
+ return __decodeString(this.view, this.offset + 66, 128);
1103
+ }
1104
+ setBATCH_ID(value) {
1105
+ __encodeString(this.view, this.offset + 66, 128, value);
1106
+ this.setHasBATCH_ID(true);
1107
+ }
1108
+ iNSERTED() {
1109
+ return this.view.getBigUint64(this.offset + 200, true);
1110
+ }
1111
+ setINSERTED(value) {
1112
+ this.view.setBigUint64(this.offset + 200, value, true);
1113
+ }
1114
+ rECONCILED_DUPLICATES() {
1115
+ return this.view.getBigUint64(this.offset + 208, true);
1116
+ }
1117
+ setRECONCILED_DUPLICATES(value) {
1118
+ this.view.setBigUint64(this.offset + 208, value, true);
1119
+ }
1120
+ rECONCILED_OLD_BATCHES() {
1121
+ return this.view.getBigUint64(this.offset + 216, true);
1122
+ }
1123
+ setRECONCILED_OLD_BATCHES(value) {
1124
+ this.view.setBigUint64(this.offset + 216, value, true);
1125
+ }
1126
+ hasARCHIVED() {
1127
+ return __readPresence(this.view, this.offset, 2);
1128
+ }
1129
+ setHasARCHIVED(value) {
1130
+ __writePresence(this.view, this.offset, 2, value);
1131
+ }
1132
+ aRCHIVED() {
1133
+ return __decodeString(this.view, this.offset + 224, 255);
1134
+ }
1135
+ setARCHIVED(value) {
1136
+ __encodeString(this.view, this.offset + 224, 255, value);
1137
+ this.setHasARCHIVED(true);
1138
+ }
1139
+ hasPROVENANCE_FILE() {
1140
+ return __readPresence(this.view, this.offset, 3);
1141
+ }
1142
+ setHasPROVENANCE_FILE(value) {
1143
+ __writePresence(this.view, this.offset, 3, value);
1144
+ }
1145
+ pROVENANCE_FILE() {
1146
+ return __decodeString(this.view, this.offset + 480, 255);
1147
+ }
1148
+ setPROVENANCE_FILE(value) {
1149
+ __encodeString(this.view, this.offset + 480, 255, value);
1150
+ this.setHasPROVENANCE_FILE(true);
1151
+ }
1152
+ };
1153
+ __publicField(_StorageIngestResult, "SIZE", 736);
1154
+ __publicField(_StorageIngestResult, "ALIGN", 8);
1155
+ let StorageIngestResult = _StorageIngestResult;
1156
+ const _SqlValue = class _SqlValue {
1157
+ constructor(buffer, offset = 0) {
1158
+ __publicField(this, "buffer", buffer);
1159
+ __publicField(this, "offset", offset);
1160
+ __publicField(this, "view");
1161
+ this.view = new DataView(buffer);
1162
+ }
1163
+ static fromPointer(buffer, offset = 0) {
1164
+ return new _SqlValue(buffer, offset);
1165
+ }
1166
+ kIND() {
1167
+ return this.view.getUint8(this.offset + 1);
1168
+ }
1169
+ setKIND(value) {
1170
+ this.view.setUint8(this.offset + 1, value);
1171
+ }
1172
+ bOOL_VALUE() {
1173
+ return this.view.getUint8(this.offset + 2) !== 0;
1174
+ }
1175
+ setBOOL_VALUE(value) {
1176
+ this.view.setUint8(this.offset + 2, value ? 1 : 0);
1177
+ }
1178
+ i64_VALUE() {
1179
+ return this.view.getBigInt64(this.offset + 8, true);
1180
+ }
1181
+ setI64_VALUE(value) {
1182
+ this.view.setBigInt64(this.offset + 8, value, true);
1183
+ }
1184
+ f64_VALUE() {
1185
+ return this.view.getFloat64(this.offset + 16, true);
1186
+ }
1187
+ setF64_VALUE(value) {
1188
+ this.view.setFloat64(this.offset + 16, value, true);
1189
+ }
1190
+ hasSTR_VALUE() {
1191
+ return __readPresence(this.view, this.offset, 0);
1192
+ }
1193
+ setHasSTR_VALUE(value) {
1194
+ __writePresence(this.view, this.offset, 0, value);
1195
+ }
1196
+ sTR_VALUE() {
1197
+ return __decodeString(this.view, this.offset + 24, 255);
1198
+ }
1199
+ setSTR_VALUE(value) {
1200
+ __encodeString(this.view, this.offset + 24, 255, value);
1201
+ this.setHasSTR_VALUE(true);
1202
+ }
1203
+ };
1204
+ __publicField(_SqlValue, "SIZE", 280);
1205
+ __publicField(_SqlValue, "ALIGN", 8);
1206
+ let SqlValue = _SqlValue;
1207
+ const _SqlStreamParams = class _SqlStreamParams {
1208
+ constructor(buffer, offset = 0) {
1209
+ __publicField(this, "buffer", buffer);
1210
+ __publicField(this, "offset", offset);
1211
+ __publicField(this, "view");
1212
+ this.view = new DataView(buffer);
1213
+ }
1214
+ static fromPointer(buffer, offset = 0) {
1215
+ return new _SqlStreamParams(buffer, offset);
1216
+ }
1217
+ dELIVER() {
1218
+ return this.view.getUint8(this.offset + 0);
1219
+ }
1220
+ setDELIVER(value) {
1221
+ this.view.setUint8(this.offset + 0, value);
1222
+ }
1223
+ };
1224
+ __publicField(_SqlStreamParams, "SIZE", 1);
1225
+ __publicField(_SqlStreamParams, "ALIGN", 1);
1226
+ let SqlStreamParams = _SqlStreamParams;
1227
+ const _StreamResult = class _StreamResult {
1228
+ constructor(buffer, offset = 0) {
1229
+ __publicField(this, "buffer", buffer);
1230
+ __publicField(this, "offset", offset);
1231
+ __publicField(this, "view");
1232
+ this.view = new DataView(buffer);
1233
+ }
1234
+ static fromPointer(buffer, offset = 0) {
1235
+ return new _StreamResult(buffer, offset);
1236
+ }
1237
+ rOWS() {
1238
+ return this.view.getBigUint64(this.offset + 8, true);
1239
+ }
1240
+ setROWS(value) {
1241
+ this.view.setBigUint64(this.offset + 8, value, true);
1242
+ }
1243
+ cOLUMNS() {
1244
+ return this.view.getUint32(this.offset + 16, true);
1245
+ }
1246
+ setCOLUMNS(value) {
1247
+ this.view.setUint32(this.offset + 16, value, true);
1248
+ }
1249
+ hasREF() {
1250
+ return __readPresence(this.view, this.offset, 0);
1251
+ }
1252
+ setHasREF(value) {
1253
+ __writePresence(this.view, this.offset, 0, value);
1254
+ }
1255
+ rEF() {
1256
+ return new BodyRef(this.buffer, this.offset + 24);
1257
+ }
1258
+ };
1259
+ __publicField(_StreamResult, "SIZE", 80);
1260
+ __publicField(_StreamResult, "ALIGN", 8);
1261
+ let StreamResult = _StreamResult;
1262
+ const _EpochStreamParams = class _EpochStreamParams {
1263
+ constructor(buffer, offset = 0) {
1264
+ __publicField(this, "buffer", buffer);
1265
+ __publicField(this, "offset", offset);
1266
+ __publicField(this, "view");
1267
+ this.view = new DataView(buffer);
1268
+ }
1269
+ static fromPointer(buffer, offset = 0) {
1270
+ return new _EpochStreamParams(buffer, offset);
1271
+ }
1272
+ hasSCHEMA() {
1273
+ return __readPresence(this.view, this.offset, 0);
1274
+ }
1275
+ setHasSCHEMA(value) {
1276
+ __writePresence(this.view, this.offset, 0, value);
1277
+ }
1278
+ sCHEMA() {
1279
+ return __decodeString(this.view, this.offset + 1, 64);
1280
+ }
1281
+ setSCHEMA(value) {
1282
+ __encodeString(this.view, this.offset + 1, 64, value);
1283
+ this.setHasSCHEMA(true);
1284
+ }
1285
+ hasSOURCE() {
1286
+ return __readPresence(this.view, this.offset, 1);
1287
+ }
1288
+ setHasSOURCE(value) {
1289
+ __writePresence(this.view, this.offset, 1, value);
1290
+ }
1291
+ sOURCE() {
1292
+ return __decodeString(this.view, this.offset + 66, 128);
1293
+ }
1294
+ setSOURCE(value) {
1295
+ __encodeString(this.view, this.offset + 66, 128, value);
1296
+ this.setHasSOURCE(true);
1297
+ }
1298
+ hasPROFILE() {
1299
+ return __readPresence(this.view, this.offset, 2);
1300
+ }
1301
+ setHasPROFILE(value) {
1302
+ __writePresence(this.view, this.offset, 2, value);
1303
+ }
1304
+ pROFILE() {
1305
+ return __decodeString(this.view, this.offset + 195, 32);
1306
+ }
1307
+ setPROFILE(value) {
1308
+ __encodeString(this.view, this.offset + 195, 32, value);
1309
+ this.setHasPROFILE(true);
1310
+ }
1311
+ ePOCH() {
1312
+ return this.view.getFloat64(this.offset + 232, true);
1313
+ }
1314
+ setEPOCH(value) {
1315
+ this.view.setFloat64(this.offset + 232, value, true);
1316
+ }
1317
+ lIMIT() {
1318
+ return this.view.getUint32(this.offset + 240, true);
1319
+ }
1320
+ setLIMIT(value) {
1321
+ this.view.setUint32(this.offset + 240, value, true);
1322
+ }
1323
+ dELIVER() {
1324
+ return this.view.getUint8(this.offset + 244);
1325
+ }
1326
+ setDELIVER(value) {
1327
+ this.view.setUint8(this.offset + 244, value);
1328
+ }
1329
+ };
1330
+ __publicField(_EpochStreamParams, "SIZE", 248);
1331
+ __publicField(_EpochStreamParams, "ALIGN", 8);
1332
+ let EpochStreamParams = _EpochStreamParams;
1333
+ const _SandboxQueryParams = class _SandboxQueryParams {
1334
+ constructor(buffer, offset = 0) {
1335
+ __publicField(this, "buffer", buffer);
1336
+ __publicField(this, "offset", offset);
1337
+ __publicField(this, "view");
1338
+ this.view = new DataView(buffer);
1339
+ }
1340
+ static fromPointer(buffer, offset = 0) {
1341
+ return new _SandboxQueryParams(buffer, offset);
1342
+ }
1343
+ wANT() {
1344
+ return this.view.getUint8(this.offset + 0);
1345
+ }
1346
+ setWANT(value) {
1347
+ this.view.setUint8(this.offset + 0, value);
1348
+ }
1349
+ dELIVER() {
1350
+ return this.view.getUint8(this.offset + 1);
1351
+ }
1352
+ setDELIVER(value) {
1353
+ this.view.setUint8(this.offset + 1, value);
1354
+ }
1355
+ };
1356
+ __publicField(_SandboxQueryParams, "SIZE", 2);
1357
+ __publicField(_SandboxQueryParams, "ALIGN", 1);
1358
+ let SandboxQueryParams = _SandboxQueryParams;
1359
+ const _SandboxQueryResult = class _SandboxQueryResult {
1360
+ constructor(buffer, offset = 0) {
1361
+ __publicField(this, "buffer", buffer);
1362
+ __publicField(this, "offset", offset);
1363
+ __publicField(this, "view");
1364
+ this.view = new DataView(buffer);
1365
+ }
1366
+ static fromPointer(buffer, offset = 0) {
1367
+ return new _SandboxQueryResult(buffer, offset);
1368
+ }
1369
+ kIND() {
1370
+ return this.view.getUint8(this.offset + 1);
1371
+ }
1372
+ setKIND(value) {
1373
+ this.view.setUint8(this.offset + 1, value);
1374
+ }
1375
+ rOWS() {
1376
+ return this.view.getBigUint64(this.offset + 8, true);
1377
+ }
1378
+ setROWS(value) {
1379
+ this.view.setBigUint64(this.offset + 8, value, true);
1380
+ }
1381
+ cOLUMNS() {
1382
+ return this.view.getUint32(this.offset + 16, true);
1383
+ }
1384
+ setCOLUMNS(value) {
1385
+ this.view.setUint32(this.offset + 16, value, true);
1386
+ }
1387
+ hasREF() {
1388
+ return __readPresence(this.view, this.offset, 0);
1389
+ }
1390
+ setHasREF(value) {
1391
+ __writePresence(this.view, this.offset, 0, value);
1392
+ }
1393
+ rEF() {
1394
+ return new BodyRef(this.buffer, this.offset + 24);
1395
+ }
1396
+ };
1397
+ __publicField(_SandboxQueryResult, "SIZE", 80);
1398
+ __publicField(_SandboxQueryResult, "ALIGN", 8);
1399
+ let SandboxQueryResult = _SandboxQueryResult;
1400
+ const _SurfaceTable = class _SurfaceTable {
1401
+ constructor(buffer, offset = 0) {
1402
+ __publicField(this, "buffer", buffer);
1403
+ __publicField(this, "offset", offset);
1404
+ __publicField(this, "view");
1405
+ this.view = new DataView(buffer);
1406
+ }
1407
+ static fromPointer(buffer, offset = 0) {
1408
+ return new _SurfaceTable(buffer, offset);
1409
+ }
1410
+ hasNAME() {
1411
+ return __readPresence(this.view, this.offset, 0);
1412
+ }
1413
+ setHasNAME(value) {
1414
+ __writePresence(this.view, this.offset, 0, value);
1415
+ }
1416
+ nAME() {
1417
+ return __decodeString(this.view, this.offset + 1, 128);
1418
+ }
1419
+ setNAME(value) {
1420
+ __encodeString(this.view, this.offset + 1, 128, value);
1421
+ this.setHasNAME(true);
1422
+ }
1423
+ hasKIND() {
1424
+ return __readPresence(this.view, this.offset, 1);
1425
+ }
1426
+ setHasKIND(value) {
1427
+ __writePresence(this.view, this.offset, 1, value);
1428
+ }
1429
+ kIND() {
1430
+ return __decodeString(this.view, this.offset + 130, 16);
1431
+ }
1432
+ setKIND(value) {
1433
+ __encodeString(this.view, this.offset + 130, 16, value);
1434
+ this.setHasKIND(true);
1435
+ }
1436
+ hasSOURCE() {
1437
+ return __readPresence(this.view, this.offset, 2);
1438
+ }
1439
+ setHasSOURCE(value) {
1440
+ __writePresence(this.view, this.offset, 2, value);
1441
+ }
1442
+ sOURCE() {
1443
+ return __decodeString(this.view, this.offset + 147, 128);
1444
+ }
1445
+ setSOURCE(value) {
1446
+ __encodeString(this.view, this.offset + 147, 128, value);
1447
+ this.setHasSOURCE(true);
1448
+ }
1449
+ rECORDS() {
1450
+ return this.view.getBigInt64(this.offset + 280, true);
1451
+ }
1452
+ setRECORDS(value) {
1453
+ this.view.setBigInt64(this.offset + 280, value, true);
1454
+ }
1455
+ };
1456
+ __publicField(_SurfaceTable, "SIZE", 288);
1457
+ __publicField(_SurfaceTable, "ALIGN", 8);
1458
+ let SurfaceTable = _SurfaceTable;
1459
+ const _SurfaceColumn = class _SurfaceColumn {
1460
+ constructor(buffer, offset = 0) {
1461
+ __publicField(this, "buffer", buffer);
1462
+ __publicField(this, "offset", offset);
1463
+ __publicField(this, "view");
1464
+ this.view = new DataView(buffer);
1465
+ }
1466
+ static fromPointer(buffer, offset = 0) {
1467
+ return new _SurfaceColumn(buffer, offset);
1468
+ }
1469
+ hasTABLE() {
1470
+ return __readPresence(this.view, this.offset, 0);
1471
+ }
1472
+ setHasTABLE(value) {
1473
+ __writePresence(this.view, this.offset, 0, value);
1474
+ }
1475
+ tABLE() {
1476
+ return __decodeString(this.view, this.offset + 1, 128);
1477
+ }
1478
+ setTABLE(value) {
1479
+ __encodeString(this.view, this.offset + 1, 128, value);
1480
+ this.setHasTABLE(true);
1481
+ }
1482
+ hasNAME() {
1483
+ return __readPresence(this.view, this.offset, 1);
1484
+ }
1485
+ setHasNAME(value) {
1486
+ __writePresence(this.view, this.offset, 1, value);
1487
+ }
1488
+ nAME() {
1489
+ return __decodeString(this.view, this.offset + 130, 128);
1490
+ }
1491
+ setNAME(value) {
1492
+ __encodeString(this.view, this.offset + 130, 128, value);
1493
+ this.setHasNAME(true);
1494
+ }
1495
+ pLACEHOLDER() {
1496
+ return this.view.getUint8(this.offset + 259) !== 0;
1497
+ }
1498
+ setPLACEHOLDER(value) {
1499
+ this.view.setUint8(this.offset + 259, value ? 1 : 0);
1500
+ }
1501
+ };
1502
+ __publicField(_SurfaceColumn, "SIZE", 260);
1503
+ __publicField(_SurfaceColumn, "ALIGN", 1);
1504
+ let SurfaceColumn = _SurfaceColumn;
1505
+ const _QuerySurfaceLimits = class _QuerySurfaceLimits {
1506
+ constructor(buffer, offset = 0) {
1507
+ __publicField(this, "buffer", buffer);
1508
+ __publicField(this, "offset", offset);
1509
+ __publicField(this, "view");
1510
+ this.view = new DataView(buffer);
1511
+ }
1512
+ static fromPointer(buffer, offset = 0) {
1513
+ return new _QuerySurfaceLimits(buffer, offset);
1514
+ }
1515
+ tIMEOUT_MS() {
1516
+ return this.view.getUint32(this.offset + 0, true);
1517
+ }
1518
+ setTIMEOUT_MS(value) {
1519
+ this.view.setUint32(this.offset + 0, value, true);
1520
+ }
1521
+ mAX_ROWS() {
1522
+ return this.view.getBigUint64(this.offset + 8, true);
1523
+ }
1524
+ setMAX_ROWS(value) {
1525
+ this.view.setBigUint64(this.offset + 8, value, true);
1526
+ }
1527
+ mAX_BYTES() {
1528
+ return this.view.getBigUint64(this.offset + 16, true);
1529
+ }
1530
+ setMAX_BYTES(value) {
1531
+ this.view.setBigUint64(this.offset + 16, value, true);
1532
+ }
1533
+ };
1534
+ __publicField(_QuerySurfaceLimits, "SIZE", 24);
1535
+ __publicField(_QuerySurfaceLimits, "ALIGN", 8);
1536
+ let QuerySurfaceLimits = _QuerySurfaceLimits;
1537
+ const _CacheKeyParams = class _CacheKeyParams {
1538
+ constructor(buffer, offset = 0) {
1539
+ __publicField(this, "buffer", buffer);
1540
+ __publicField(this, "offset", offset);
1541
+ __publicField(this, "view");
1542
+ this.view = new DataView(buffer);
1543
+ }
1544
+ static fromPointer(buffer, offset = 0) {
1545
+ return new _CacheKeyParams(buffer, offset);
1546
+ }
1547
+ hasSCHEMA_NAME() {
1548
+ return __readPresence(this.view, this.offset, 0);
1549
+ }
1550
+ setHasSCHEMA_NAME(value) {
1551
+ __writePresence(this.view, this.offset, 0, value);
1552
+ }
1553
+ sCHEMA_NAME() {
1554
+ return __decodeString(this.view, this.offset + 1, 64);
1555
+ }
1556
+ setSCHEMA_NAME(value) {
1557
+ __encodeString(this.view, this.offset + 1, 64, value);
1558
+ this.setHasSCHEMA_NAME(true);
1559
+ }
1560
+ hasSCHEMA_VERSION() {
1561
+ return __readPresence(this.view, this.offset, 1);
1562
+ }
1563
+ setHasSCHEMA_VERSION(value) {
1564
+ __writePresence(this.view, this.offset, 1, value);
1565
+ }
1566
+ sCHEMA_VERSION() {
1567
+ return __decodeString(this.view, this.offset + 66, 32);
1568
+ }
1569
+ setSCHEMA_VERSION(value) {
1570
+ __encodeString(this.view, this.offset + 66, 32, value);
1571
+ this.setHasSCHEMA_VERSION(true);
1572
+ }
1573
+ hasFORMAT() {
1574
+ return __readPresence(this.view, this.offset, 2);
1575
+ }
1576
+ setHasFORMAT(value) {
1577
+ __writePresence(this.view, this.offset, 2, value);
1578
+ }
1579
+ fORMAT() {
1580
+ return __decodeString(this.view, this.offset + 99, 32);
1581
+ }
1582
+ setFORMAT(value) {
1583
+ __encodeString(this.view, this.offset + 99, 32, value);
1584
+ this.setHasFORMAT(true);
1585
+ }
1586
+ hasPUBLISH_EVENT_KEY() {
1587
+ return __readPresence(this.view, this.offset, 3);
1588
+ }
1589
+ setHasPUBLISH_EVENT_KEY(value) {
1590
+ __writePresence(this.view, this.offset, 3, value);
1591
+ }
1592
+ pUBLISH_EVENT_KEY() {
1593
+ return __decodeString(this.view, this.offset + 132, 128);
1594
+ }
1595
+ setPUBLISH_EVENT_KEY(value) {
1596
+ __encodeString(this.view, this.offset + 132, 128, value);
1597
+ this.setHasPUBLISH_EVENT_KEY(true);
1598
+ }
1599
+ };
1600
+ __publicField(_CacheKeyParams, "SIZE", 261);
1601
+ __publicField(_CacheKeyParams, "ALIGN", 1);
1602
+ let CacheKeyParams = _CacheKeyParams;
1603
+ const _CryptoParams = class _CryptoParams {
1604
+ constructor(buffer, offset = 0) {
1605
+ __publicField(this, "buffer", buffer);
1606
+ __publicField(this, "offset", offset);
1607
+ __publicField(this, "view");
1608
+ this.view = new DataView(buffer);
1609
+ }
1610
+ static fromPointer(buffer, offset = 0) {
1611
+ return new _CryptoParams(buffer, offset);
1612
+ }
1613
+ aLGORITHM() {
1614
+ return this.view.getUint8(this.offset + 0);
1615
+ }
1616
+ setALGORITHM(value) {
1617
+ this.view.setUint8(this.offset + 0, value);
1618
+ }
1619
+ lENGTH() {
1620
+ return this.view.getUint32(this.offset + 4, true);
1621
+ }
1622
+ setLENGTH(value) {
1623
+ this.view.setUint32(this.offset + 4, value, true);
1624
+ }
1625
+ };
1626
+ __publicField(_CryptoParams, "SIZE", 8);
1627
+ __publicField(_CryptoParams, "ALIGN", 4);
1628
+ let CryptoParams = _CryptoParams;
1629
+ const _KeyslotParams = class _KeyslotParams {
1630
+ constructor(buffer, offset = 0) {
1631
+ __publicField(this, "buffer", buffer);
1632
+ __publicField(this, "offset", offset);
1633
+ __publicField(this, "view");
1634
+ this.view = new DataView(buffer);
1635
+ }
1636
+ static fromPointer(buffer, offset = 0) {
1637
+ return new _KeyslotParams(buffer, offset);
1638
+ }
1639
+ hasSLOT_ID() {
1640
+ return __readPresence(this.view, this.offset, 0);
1641
+ }
1642
+ setHasSLOT_ID(value) {
1643
+ __writePresence(this.view, this.offset, 0, value);
1644
+ }
1645
+ sLOT_ID() {
1646
+ return __decodeString(this.view, this.offset + 1, 128);
1647
+ }
1648
+ setSLOT_ID(value) {
1649
+ __encodeString(this.view, this.offset + 1, 128, value);
1650
+ this.setHasSLOT_ID(true);
1651
+ }
1652
+ aLGORITHM() {
1653
+ return this.view.getUint8(this.offset + 130);
1654
+ }
1655
+ setALGORITHM(value) {
1656
+ this.view.setUint8(this.offset + 130, value);
1657
+ }
1658
+ };
1659
+ __publicField(_KeyslotParams, "SIZE", 131);
1660
+ __publicField(_KeyslotParams, "ALIGN", 1);
1661
+ let KeyslotParams = _KeyslotParams;
1662
+ const _SecretParams = class _SecretParams {
1663
+ constructor(buffer, offset = 0) {
1664
+ __publicField(this, "buffer", buffer);
1665
+ __publicField(this, "offset", offset);
1666
+ __publicField(this, "view");
1667
+ this.view = new DataView(buffer);
1668
+ }
1669
+ static fromPointer(buffer, offset = 0) {
1670
+ return new _SecretParams(buffer, offset);
1671
+ }
1672
+ hasID() {
1673
+ return __readPresence(this.view, this.offset, 0);
1674
+ }
1675
+ setHasID(value) {
1676
+ __writePresence(this.view, this.offset, 0, value);
1677
+ }
1678
+ iD() {
1679
+ return __decodeString(this.view, this.offset + 1, 128);
1680
+ }
1681
+ setID(value) {
1682
+ __encodeString(this.view, this.offset + 1, 128, value);
1683
+ this.setHasID(true);
1684
+ }
1685
+ hasUSERNAME() {
1686
+ return __readPresence(this.view, this.offset, 1);
1687
+ }
1688
+ setHasUSERNAME(value) {
1689
+ __writePresence(this.view, this.offset, 1, value);
1690
+ }
1691
+ uSERNAME() {
1692
+ return __decodeString(this.view, this.offset + 130, 255);
1693
+ }
1694
+ setUSERNAME(value) {
1695
+ __encodeString(this.view, this.offset + 130, 255, value);
1696
+ this.setHasUSERNAME(true);
1697
+ }
1698
+ };
1699
+ __publicField(_SecretParams, "SIZE", 386);
1700
+ __publicField(_SecretParams, "ALIGN", 1);
1701
+ let SecretParams = _SecretParams;
1702
+ const _SecretResult = class _SecretResult {
1703
+ constructor(buffer, offset = 0) {
1704
+ __publicField(this, "buffer", buffer);
1705
+ __publicField(this, "offset", offset);
1706
+ __publicField(this, "view");
1707
+ this.view = new DataView(buffer);
1708
+ }
1709
+ static fromPointer(buffer, offset = 0) {
1710
+ return new _SecretResult(buffer, offset);
1711
+ }
1712
+ hasID() {
1713
+ return __readPresence(this.view, this.offset, 0);
1714
+ }
1715
+ setHasID(value) {
1716
+ __writePresence(this.view, this.offset, 0, value);
1717
+ }
1718
+ iD() {
1719
+ return __decodeString(this.view, this.offset + 1, 128);
1720
+ }
1721
+ setID(value) {
1722
+ __encodeString(this.view, this.offset + 1, 128, value);
1723
+ this.setHasID(true);
1724
+ }
1725
+ hasUSERNAME() {
1726
+ return __readPresence(this.view, this.offset, 1);
1727
+ }
1728
+ setHasUSERNAME(value) {
1729
+ __writePresence(this.view, this.offset, 1, value);
1730
+ }
1731
+ uSERNAME() {
1732
+ return __decodeString(this.view, this.offset + 130, 255);
1733
+ }
1734
+ setUSERNAME(value) {
1735
+ __encodeString(this.view, this.offset + 130, 255, value);
1736
+ this.setHasUSERNAME(true);
1737
+ }
1738
+ cONFIGURED() {
1739
+ return this.view.getUint8(this.offset + 386) !== 0;
1740
+ }
1741
+ setCONFIGURED(value) {
1742
+ this.view.setUint8(this.offset + 386, value ? 1 : 0);
1743
+ }
1744
+ hasUSERNAME_MASKED() {
1745
+ return __readPresence(this.view, this.offset, 2);
1746
+ }
1747
+ setHasUSERNAME_MASKED(value) {
1748
+ __writePresence(this.view, this.offset, 2, value);
1749
+ }
1750
+ uSERNAME_MASKED() {
1751
+ return __decodeString(this.view, this.offset + 387, 255);
1752
+ }
1753
+ setUSERNAME_MASKED(value) {
1754
+ __encodeString(this.view, this.offset + 387, 255, value);
1755
+ this.setHasUSERNAME_MASKED(true);
1756
+ }
1757
+ uPDATED_MS() {
1758
+ return this.view.getBigUint64(this.offset + 648, true);
1759
+ }
1760
+ setUPDATED_MS(value) {
1761
+ this.view.setBigUint64(this.offset + 648, value, true);
1762
+ }
1763
+ vERIFIED_MS() {
1764
+ return this.view.getBigUint64(this.offset + 656, true);
1765
+ }
1766
+ setVERIFIED_MS(value) {
1767
+ this.view.setBigUint64(this.offset + 656, value, true);
1768
+ }
1769
+ };
1770
+ __publicField(_SecretResult, "SIZE", 664);
1771
+ __publicField(_SecretResult, "ALIGN", 8);
1772
+ let SecretResult = _SecretResult;
1773
+ const _IpfsParams = class _IpfsParams {
1774
+ constructor(buffer, offset = 0) {
1775
+ __publicField(this, "buffer", buffer);
1776
+ __publicField(this, "offset", offset);
1777
+ __publicField(this, "view");
1778
+ this.view = new DataView(buffer);
1779
+ }
1780
+ static fromPointer(buffer, offset = 0) {
1781
+ return new _IpfsParams(buffer, offset);
1782
+ }
1783
+ hasCID() {
1784
+ return __readPresence(this.view, this.offset, 0);
1785
+ }
1786
+ setHasCID(value) {
1787
+ __writePresence(this.view, this.offset, 0, value);
1788
+ }
1789
+ cID() {
1790
+ return __decodeString(this.view, this.offset + 1, 128);
1791
+ }
1792
+ setCID(value) {
1793
+ __encodeString(this.view, this.offset + 1, 128, value);
1794
+ this.setHasCID(true);
1795
+ }
1796
+ hasNAME() {
1797
+ return __readPresence(this.view, this.offset, 1);
1798
+ }
1799
+ setHasNAME(value) {
1800
+ __writePresence(this.view, this.offset, 1, value);
1801
+ }
1802
+ nAME() {
1803
+ return __decodeString(this.view, this.offset + 130, 255);
1804
+ }
1805
+ setNAME(value) {
1806
+ __encodeString(this.view, this.offset + 130, 255, value);
1807
+ this.setHasNAME(true);
1808
+ }
1809
+ hasTYPE() {
1810
+ return __readPresence(this.view, this.offset, 2);
1811
+ }
1812
+ setHasTYPE(value) {
1813
+ __writePresence(this.view, this.offset, 2, value);
1814
+ }
1815
+ tYPE() {
1816
+ return __decodeString(this.view, this.offset + 386, 32);
1817
+ }
1818
+ setTYPE(value) {
1819
+ __encodeString(this.view, this.offset + 386, 32, value);
1820
+ this.setHasTYPE(true);
1821
+ }
1822
+ hasLIFETIME() {
1823
+ return __readPresence(this.view, this.offset, 3);
1824
+ }
1825
+ setHasLIFETIME(value) {
1826
+ __writePresence(this.view, this.offset, 3, value);
1827
+ }
1828
+ lIFETIME() {
1829
+ return __decodeString(this.view, this.offset + 419, 32);
1830
+ }
1831
+ setLIFETIME(value) {
1832
+ __encodeString(this.view, this.offset + 419, 32, value);
1833
+ this.setHasLIFETIME(true);
1834
+ }
1835
+ hasTTL() {
1836
+ return __readPresence(this.view, this.offset, 4);
1837
+ }
1838
+ setHasTTL(value) {
1839
+ __writePresence(this.view, this.offset, 4, value);
1840
+ }
1841
+ tTL() {
1842
+ return __decodeString(this.view, this.offset + 452, 32);
1843
+ }
1844
+ setTTL(value) {
1845
+ __encodeString(this.view, this.offset + 452, 32, value);
1846
+ this.setHasTTL(true);
1847
+ }
1848
+ nO_PIN() {
1849
+ return this.view.getUint8(this.offset + 485) !== 0;
1850
+ }
1851
+ setNO_PIN(value) {
1852
+ this.view.setUint8(this.offset + 485, value ? 1 : 0);
1853
+ }
1854
+ };
1855
+ __publicField(_IpfsParams, "SIZE", 486);
1856
+ __publicField(_IpfsParams, "ALIGN", 1);
1857
+ let IpfsParams = _IpfsParams;
1858
+ const _IpfsResult = class _IpfsResult {
1859
+ constructor(buffer, offset = 0) {
1860
+ __publicField(this, "buffer", buffer);
1861
+ __publicField(this, "offset", offset);
1862
+ __publicField(this, "view");
1863
+ this.view = new DataView(buffer);
1864
+ }
1865
+ static fromPointer(buffer, offset = 0) {
1866
+ return new _IpfsResult(buffer, offset);
1867
+ }
1868
+ hasCID() {
1869
+ return __readPresence(this.view, this.offset, 0);
1870
+ }
1871
+ setHasCID(value) {
1872
+ __writePresence(this.view, this.offset, 0, value);
1873
+ }
1874
+ cID() {
1875
+ return __decodeString(this.view, this.offset + 1, 128);
1876
+ }
1877
+ setCID(value) {
1878
+ __encodeString(this.view, this.offset + 1, 128, value);
1879
+ this.setHasCID(true);
1880
+ }
1881
+ hasNAME() {
1882
+ return __readPresence(this.view, this.offset, 1);
1883
+ }
1884
+ setHasNAME(value) {
1885
+ __writePresence(this.view, this.offset, 1, value);
1886
+ }
1887
+ nAME() {
1888
+ return __decodeString(this.view, this.offset + 130, 255);
1889
+ }
1890
+ setNAME(value) {
1891
+ __encodeString(this.view, this.offset + 130, 255, value);
1892
+ this.setHasNAME(true);
1893
+ }
1894
+ hasVALUE() {
1895
+ return __readPresence(this.view, this.offset, 2);
1896
+ }
1897
+ setHasVALUE(value) {
1898
+ __writePresence(this.view, this.offset, 2, value);
1899
+ }
1900
+ vALUE() {
1901
+ return __decodeString(this.view, this.offset + 386, 255);
1902
+ }
1903
+ setVALUE(value) {
1904
+ __encodeString(this.view, this.offset + 386, 255, value);
1905
+ this.setHasVALUE(true);
1906
+ }
1907
+ sIZE() {
1908
+ return this.view.getBigUint64(this.offset + 648, true);
1909
+ }
1910
+ setSIZE(value) {
1911
+ this.view.setBigUint64(this.offset + 648, value, true);
1912
+ }
1913
+ hasAGENT_VERSION() {
1914
+ return __readPresence(this.view, this.offset, 3);
1915
+ }
1916
+ setHasAGENT_VERSION(value) {
1917
+ __writePresence(this.view, this.offset, 3, value);
1918
+ }
1919
+ aGENT_VERSION() {
1920
+ return __decodeString(this.view, this.offset + 656, 128);
1921
+ }
1922
+ setAGENT_VERSION(value) {
1923
+ __encodeString(this.view, this.offset + 656, 128, value);
1924
+ this.setHasAGENT_VERSION(true);
1925
+ }
1926
+ hasPROTOCOL_VERSION() {
1927
+ return __readPresence(this.view, this.offset, 4);
1928
+ }
1929
+ setHasPROTOCOL_VERSION(value) {
1930
+ __writePresence(this.view, this.offset, 4, value);
1931
+ }
1932
+ pROTOCOL_VERSION() {
1933
+ return __decodeString(this.view, this.offset + 785, 64);
1934
+ }
1935
+ setPROTOCOL_VERSION(value) {
1936
+ __encodeString(this.view, this.offset + 785, 64, value);
1937
+ this.setHasPROTOCOL_VERSION(true);
1938
+ }
1939
+ };
1940
+ __publicField(_IpfsResult, "SIZE", 856);
1941
+ __publicField(_IpfsResult, "ALIGN", 8);
1942
+ let IpfsResult = _IpfsResult;
1943
+ const _IpfsLink = class _IpfsLink {
1944
+ constructor(buffer, offset = 0) {
1945
+ __publicField(this, "buffer", buffer);
1946
+ __publicField(this, "offset", offset);
1947
+ __publicField(this, "view");
1948
+ this.view = new DataView(buffer);
1949
+ }
1950
+ static fromPointer(buffer, offset = 0) {
1951
+ return new _IpfsLink(buffer, offset);
1952
+ }
1953
+ hasNAME() {
1954
+ return __readPresence(this.view, this.offset, 0);
1955
+ }
1956
+ setHasNAME(value) {
1957
+ __writePresence(this.view, this.offset, 0, value);
1958
+ }
1959
+ nAME() {
1960
+ return __decodeString(this.view, this.offset + 1, 255);
1961
+ }
1962
+ setNAME(value) {
1963
+ __encodeString(this.view, this.offset + 1, 255, value);
1964
+ this.setHasNAME(true);
1965
+ }
1966
+ hasCID() {
1967
+ return __readPresence(this.view, this.offset, 1);
1968
+ }
1969
+ setHasCID(value) {
1970
+ __writePresence(this.view, this.offset, 1, value);
1971
+ }
1972
+ cID() {
1973
+ return __decodeString(this.view, this.offset + 257, 128);
1974
+ }
1975
+ setCID(value) {
1976
+ __encodeString(this.view, this.offset + 257, 128, value);
1977
+ this.setHasCID(true);
1978
+ }
1979
+ sIZE() {
1980
+ return this.view.getBigUint64(this.offset + 392, true);
1981
+ }
1982
+ setSIZE(value) {
1983
+ this.view.setBigUint64(this.offset + 392, value, true);
1984
+ }
1985
+ tYPE() {
1986
+ return this.view.getInt32(this.offset + 400, true);
1987
+ }
1988
+ setTYPE(value) {
1989
+ this.view.setInt32(this.offset + 400, value, true);
1990
+ }
1991
+ };
1992
+ __publicField(_IpfsLink, "SIZE", 408);
1993
+ __publicField(_IpfsLink, "ALIGN", 8);
1994
+ let IpfsLink = _IpfsLink;
1995
+ const _IpfsPin = class _IpfsPin {
1996
+ constructor(buffer, offset = 0) {
1997
+ __publicField(this, "buffer", buffer);
1998
+ __publicField(this, "offset", offset);
1999
+ __publicField(this, "view");
2000
+ this.view = new DataView(buffer);
2001
+ }
2002
+ static fromPointer(buffer, offset = 0) {
2003
+ return new _IpfsPin(buffer, offset);
2004
+ }
2005
+ hasCID() {
2006
+ return __readPresence(this.view, this.offset, 0);
2007
+ }
2008
+ setHasCID(value) {
2009
+ __writePresence(this.view, this.offset, 0, value);
2010
+ }
2011
+ cID() {
2012
+ return __decodeString(this.view, this.offset + 1, 128);
2013
+ }
2014
+ setCID(value) {
2015
+ __encodeString(this.view, this.offset + 1, 128, value);
2016
+ this.setHasCID(true);
2017
+ }
2018
+ hasTYPE() {
2019
+ return __readPresence(this.view, this.offset, 1);
2020
+ }
2021
+ setHasTYPE(value) {
2022
+ __writePresence(this.view, this.offset, 1, value);
2023
+ }
2024
+ tYPE() {
2025
+ return __decodeString(this.view, this.offset + 130, 32);
2026
+ }
2027
+ setTYPE(value) {
2028
+ __encodeString(this.view, this.offset + 130, 32, value);
2029
+ this.setHasTYPE(true);
2030
+ }
2031
+ };
2032
+ __publicField(_IpfsPin, "SIZE", 163);
2033
+ __publicField(_IpfsPin, "ALIGN", 1);
2034
+ let IpfsPin = _IpfsPin;
2035
+ const _IpfsSwarmPeer = class _IpfsSwarmPeer {
2036
+ constructor(buffer, offset = 0) {
2037
+ __publicField(this, "buffer", buffer);
2038
+ __publicField(this, "offset", offset);
2039
+ __publicField(this, "view");
2040
+ this.view = new DataView(buffer);
2041
+ }
2042
+ static fromPointer(buffer, offset = 0) {
2043
+ return new _IpfsSwarmPeer(buffer, offset);
2044
+ }
2045
+ hasPEER_ID() {
2046
+ return __readPresence(this.view, this.offset, 0);
2047
+ }
2048
+ setHasPEER_ID(value) {
2049
+ __writePresence(this.view, this.offset, 0, value);
2050
+ }
2051
+ pEER_ID() {
2052
+ return __decodeString(this.view, this.offset + 1, 128);
2053
+ }
2054
+ setPEER_ID(value) {
2055
+ __encodeString(this.view, this.offset + 1, 128, value);
2056
+ this.setHasPEER_ID(true);
2057
+ }
2058
+ hasADDRESS() {
2059
+ return __readPresence(this.view, this.offset, 1);
2060
+ }
2061
+ setHasADDRESS(value) {
2062
+ __writePresence(this.view, this.offset, 1, value);
2063
+ }
2064
+ aDDRESS() {
2065
+ return __decodeString(this.view, this.offset + 130, 255);
2066
+ }
2067
+ setADDRESS(value) {
2068
+ __encodeString(this.view, this.offset + 130, 255, value);
2069
+ this.setHasADDRESS(true);
2070
+ }
2071
+ lATENCY_MS() {
2072
+ return this.view.getFloat64(this.offset + 392, true);
2073
+ }
2074
+ setLATENCY_MS(value) {
2075
+ this.view.setFloat64(this.offset + 392, value, true);
2076
+ }
2077
+ };
2078
+ __publicField(_IpfsSwarmPeer, "SIZE", 400);
2079
+ __publicField(_IpfsSwarmPeer, "ALIGN", 8);
2080
+ let IpfsSwarmPeer = _IpfsSwarmPeer;
2081
+ const _PubsubParams = class _PubsubParams {
2082
+ constructor(buffer, offset = 0) {
2083
+ __publicField(this, "buffer", buffer);
2084
+ __publicField(this, "offset", offset);
2085
+ __publicField(this, "view");
2086
+ this.view = new DataView(buffer);
2087
+ }
2088
+ static fromPointer(buffer, offset = 0) {
2089
+ return new _PubsubParams(buffer, offset);
2090
+ }
2091
+ hasTOPIC() {
2092
+ return __readPresence(this.view, this.offset, 0);
2093
+ }
2094
+ setHasTOPIC(value) {
2095
+ __writePresence(this.view, this.offset, 0, value);
2096
+ }
2097
+ tOPIC() {
2098
+ return __decodeString(this.view, this.offset + 1, 255);
2099
+ }
2100
+ setTOPIC(value) {
2101
+ __encodeString(this.view, this.offset + 1, 255, value);
2102
+ this.setHasTOPIC(true);
2103
+ }
2104
+ };
2105
+ __publicField(_PubsubParams, "SIZE", 257);
2106
+ __publicField(_PubsubParams, "ALIGN", 1);
2107
+ let PubsubParams = _PubsubParams;
2108
+ const _PubsubSubscribed = class _PubsubSubscribed {
2109
+ constructor(buffer, offset = 0) {
2110
+ __publicField(this, "buffer", buffer);
2111
+ __publicField(this, "offset", offset);
2112
+ __publicField(this, "view");
2113
+ this.view = new DataView(buffer);
2114
+ }
2115
+ static fromPointer(buffer, offset = 0) {
2116
+ return new _PubsubSubscribed(buffer, offset);
2117
+ }
2118
+ aLREADY() {
2119
+ return this.view.getUint8(this.offset + 0) !== 0;
2120
+ }
2121
+ setALREADY(value) {
2122
+ this.view.setUint8(this.offset + 0, value ? 1 : 0);
2123
+ }
2124
+ };
2125
+ __publicField(_PubsubSubscribed, "SIZE", 1);
2126
+ __publicField(_PubsubSubscribed, "ALIGN", 1);
2127
+ let PubsubSubscribed = _PubsubSubscribed;
2128
+ const _ProtocolParams = class _ProtocolParams {
2129
+ constructor(buffer, offset = 0) {
2130
+ __publicField(this, "buffer", buffer);
2131
+ __publicField(this, "offset", offset);
2132
+ __publicField(this, "view");
2133
+ this.view = new DataView(buffer);
2134
+ }
2135
+ static fromPointer(buffer, offset = 0) {
2136
+ return new _ProtocolParams(buffer, offset);
2137
+ }
2138
+ hasTARGET() {
2139
+ return __readPresence(this.view, this.offset, 0);
2140
+ }
2141
+ setHasTARGET(value) {
2142
+ __writePresence(this.view, this.offset, 0, value);
2143
+ }
2144
+ tARGET() {
2145
+ return __decodeString(this.view, this.offset + 1, 255);
2146
+ }
2147
+ setTARGET(value) {
2148
+ __encodeString(this.view, this.offset + 1, 255, value);
2149
+ this.setHasTARGET(true);
2150
+ }
2151
+ hasPROTOCOL_ID() {
2152
+ return __readPresence(this.view, this.offset, 1);
2153
+ }
2154
+ setHasPROTOCOL_ID(value) {
2155
+ __writePresence(this.view, this.offset, 1, value);
2156
+ }
2157
+ pROTOCOL_ID() {
2158
+ return __decodeString(this.view, this.offset + 257, 128);
2159
+ }
2160
+ setPROTOCOL_ID(value) {
2161
+ __encodeString(this.view, this.offset + 257, 128, value);
2162
+ this.setHasPROTOCOL_ID(true);
2163
+ }
2164
+ hasPEER_ID() {
2165
+ return __readPresence(this.view, this.offset, 2);
2166
+ }
2167
+ setHasPEER_ID(value) {
2168
+ __writePresence(this.view, this.offset, 2, value);
2169
+ }
2170
+ pEER_ID() {
2171
+ return __decodeString(this.view, this.offset + 386, 128);
2172
+ }
2173
+ setPEER_ID(value) {
2174
+ __encodeString(this.view, this.offset + 386, 128, value);
2175
+ this.setHasPEER_ID(true);
2176
+ }
2177
+ tIMEOUT_MS() {
2178
+ return this.view.getUint32(this.offset + 516, true);
2179
+ }
2180
+ setTIMEOUT_MS(value) {
2181
+ this.view.setUint32(this.offset + 516, value, true);
2182
+ }
2183
+ };
2184
+ __publicField(_ProtocolParams, "SIZE", 520);
2185
+ __publicField(_ProtocolParams, "ALIGN", 4);
2186
+ let ProtocolParams = _ProtocolParams;
2187
+ const _P2pParams = class _P2pParams {
2188
+ constructor(buffer, offset = 0) {
2189
+ __publicField(this, "buffer", buffer);
2190
+ __publicField(this, "offset", offset);
2191
+ __publicField(this, "view");
2192
+ this.view = new DataView(buffer);
2193
+ }
2194
+ static fromPointer(buffer, offset = 0) {
2195
+ return new _P2pParams(buffer, offset);
2196
+ }
2197
+ hasPEER_ID() {
2198
+ return __readPresence(this.view, this.offset, 0);
2199
+ }
2200
+ setHasPEER_ID(value) {
2201
+ __writePresence(this.view, this.offset, 0, value);
2202
+ }
2203
+ pEER_ID() {
2204
+ return __decodeString(this.view, this.offset + 1, 128);
2205
+ }
2206
+ setPEER_ID(value) {
2207
+ __encodeString(this.view, this.offset + 1, 128, value);
2208
+ this.setHasPEER_ID(true);
2209
+ }
2210
+ lIMIT() {
2211
+ return this.view.getUint32(this.offset + 132, true);
2212
+ }
2213
+ setLIMIT(value) {
2214
+ this.view.setUint32(this.offset + 132, value, true);
2215
+ }
2216
+ hasSTANDARD() {
2217
+ return __readPresence(this.view, this.offset, 1);
2218
+ }
2219
+ setHasSTANDARD(value) {
2220
+ __writePresence(this.view, this.offset, 1, value);
2221
+ }
2222
+ sTANDARD() {
2223
+ return __decodeString(this.view, this.offset + 136, 16);
2224
+ }
2225
+ setSTANDARD(value) {
2226
+ __encodeString(this.view, this.offset + 136, 16, value);
2227
+ this.setHasSTANDARD(true);
2228
+ }
2229
+ dELIVER() {
2230
+ return this.view.getUint8(this.offset + 153);
2231
+ }
2232
+ setDELIVER(value) {
2233
+ this.view.setUint8(this.offset + 153, value);
2234
+ }
2235
+ };
2236
+ __publicField(_P2pParams, "SIZE", 156);
2237
+ __publicField(_P2pParams, "ALIGN", 4);
2238
+ let P2pParams = _P2pParams;
2239
+ const _P2pSummary = class _P2pSummary {
2240
+ constructor(buffer, offset = 0) {
2241
+ __publicField(this, "buffer", buffer);
2242
+ __publicField(this, "offset", offset);
2243
+ __publicField(this, "view");
2244
+ this.view = new DataView(buffer);
2245
+ }
2246
+ static fromPointer(buffer, offset = 0) {
2247
+ return new _P2pSummary(buffer, offset);
2248
+ }
2249
+ hasSELF() {
2250
+ return __readPresence(this.view, this.offset, 0);
2251
+ }
2252
+ setHasSELF(value) {
2253
+ __writePresence(this.view, this.offset, 0, value);
2254
+ }
2255
+ sELF() {
2256
+ return __decodeString(this.view, this.offset + 1, 128);
2257
+ }
2258
+ setSELF(value) {
2259
+ __encodeString(this.view, this.offset + 1, 128, value);
2260
+ this.setHasSELF(true);
2261
+ }
2262
+ hasPEER_ID() {
2263
+ return __readPresence(this.view, this.offset, 1);
2264
+ }
2265
+ setHasPEER_ID(value) {
2266
+ __writePresence(this.view, this.offset, 1, value);
2267
+ }
2268
+ pEER_ID() {
2269
+ return __decodeString(this.view, this.offset + 130, 128);
2270
+ }
2271
+ setPEER_ID(value) {
2272
+ __encodeString(this.view, this.offset + 130, 128, value);
2273
+ this.setHasPEER_ID(true);
2274
+ }
2275
+ pUBLISHER_KEY_AVAILABLE() {
2276
+ return this.view.getUint8(this.offset + 259) !== 0;
2277
+ }
2278
+ setPUBLISHER_KEY_AVAILABLE(value) {
2279
+ this.view.setUint8(this.offset + 259, value ? 1 : 0);
2280
+ }
2281
+ gOSSIP_ONLY_EXCLUDED() {
2282
+ return this.view.getUint32(this.offset + 260, true);
2283
+ }
2284
+ setGOSSIP_ONLY_EXCLUDED(value) {
2285
+ this.view.setUint32(this.offset + 260, value, true);
2286
+ }
2287
+ };
2288
+ __publicField(_P2pSummary, "SIZE", 264);
2289
+ __publicField(_P2pSummary, "ALIGN", 4);
2290
+ let P2pSummary = _P2pSummary;
2291
+ const _P2pPeer = class _P2pPeer {
2292
+ constructor(buffer, offset = 0) {
2293
+ __publicField(this, "buffer", buffer);
2294
+ __publicField(this, "offset", offset);
2295
+ __publicField(this, "view");
2296
+ this.view = new DataView(buffer);
2297
+ }
2298
+ static fromPointer(buffer, offset = 0) {
2299
+ return new _P2pPeer(buffer, offset);
2300
+ }
2301
+ hasPEER_ID() {
2302
+ return __readPresence(this.view, this.offset, 0);
2303
+ }
2304
+ setHasPEER_ID(value) {
2305
+ __writePresence(this.view, this.offset, 0, value);
2306
+ }
2307
+ pEER_ID() {
2308
+ return __decodeString(this.view, this.offset + 1, 128);
2309
+ }
2310
+ setPEER_ID(value) {
2311
+ __encodeString(this.view, this.offset + 1, 128, value);
2312
+ this.setHasPEER_ID(true);
2313
+ }
2314
+ cONNECTED() {
2315
+ return this.view.getUint8(this.offset + 130) !== 0;
2316
+ }
2317
+ setCONNECTED(value) {
2318
+ this.view.setUint8(this.offset + 130, value ? 1 : 0);
2319
+ }
2320
+ sELF() {
2321
+ return this.view.getUint8(this.offset + 131) !== 0;
2322
+ }
2323
+ setSELF(value) {
2324
+ this.view.setUint8(this.offset + 131, value ? 1 : 0);
2325
+ }
2326
+ ePM_INDEX() {
2327
+ return this.view.getInt32(this.offset + 132, true);
2328
+ }
2329
+ setEPM_INDEX(value) {
2330
+ this.view.setInt32(this.offset + 132, value, true);
2331
+ }
2332
+ hasAGENT_VERSION() {
2333
+ return __readPresence(this.view, this.offset, 1);
2334
+ }
2335
+ setHasAGENT_VERSION(value) {
2336
+ __writePresence(this.view, this.offset, 1, value);
2337
+ }
2338
+ aGENT_VERSION() {
2339
+ return __decodeString(this.view, this.offset + 136, 128);
2340
+ }
2341
+ setAGENT_VERSION(value) {
2342
+ __encodeString(this.view, this.offset + 136, 128, value);
2343
+ this.setHasAGENT_VERSION(true);
2344
+ }
2345
+ };
2346
+ __publicField(_P2pPeer, "SIZE", 268);
2347
+ __publicField(_P2pPeer, "ALIGN", 4);
2348
+ let P2pPeer = _P2pPeer;
2349
+ const _P2pPeerValue = class _P2pPeerValue {
2350
+ constructor(buffer, offset = 0) {
2351
+ __publicField(this, "buffer", buffer);
2352
+ __publicField(this, "offset", offset);
2353
+ __publicField(this, "view");
2354
+ this.view = new DataView(buffer);
2355
+ }
2356
+ static fromPointer(buffer, offset = 0) {
2357
+ return new _P2pPeerValue(buffer, offset);
2358
+ }
2359
+ hasPEER_ID() {
2360
+ return __readPresence(this.view, this.offset, 0);
2361
+ }
2362
+ setHasPEER_ID(value) {
2363
+ __writePresence(this.view, this.offset, 0, value);
2364
+ }
2365
+ pEER_ID() {
2366
+ return __decodeString(this.view, this.offset + 1, 128);
2367
+ }
2368
+ setPEER_ID(value) {
2369
+ __encodeString(this.view, this.offset + 1, 128, value);
2370
+ this.setHasPEER_ID(true);
2371
+ }
2372
+ hasVALUE() {
2373
+ return __readPresence(this.view, this.offset, 1);
2374
+ }
2375
+ setHasVALUE(value) {
2376
+ __writePresence(this.view, this.offset, 1, value);
2377
+ }
2378
+ vALUE() {
2379
+ return __decodeString(this.view, this.offset + 130, 255);
2380
+ }
2381
+ setVALUE(value) {
2382
+ __encodeString(this.view, this.offset + 130, 255, value);
2383
+ this.setHasVALUE(true);
2384
+ }
2385
+ };
2386
+ __publicField(_P2pPeerValue, "SIZE", 386);
2387
+ __publicField(_P2pPeerValue, "ALIGN", 1);
2388
+ let P2pPeerValue = _P2pPeerValue;
2389
+ const _P2pPnmEntry = class _P2pPnmEntry {
2390
+ constructor(buffer, offset = 0) {
2391
+ __publicField(this, "buffer", buffer);
2392
+ __publicField(this, "offset", offset);
2393
+ __publicField(this, "view");
2394
+ this.view = new DataView(buffer);
2395
+ }
2396
+ static fromPointer(buffer, offset = 0) {
2397
+ return new _P2pPnmEntry(buffer, offset);
2398
+ }
2399
+ hasPEER_ID() {
2400
+ return __readPresence(this.view, this.offset, 0);
2401
+ }
2402
+ setHasPEER_ID(value) {
2403
+ __writePresence(this.view, this.offset, 0, value);
2404
+ }
2405
+ pEER_ID() {
2406
+ return __decodeString(this.view, this.offset + 2, 128);
2407
+ }
2408
+ setPEER_ID(value) {
2409
+ __encodeString(this.view, this.offset + 2, 128, value);
2410
+ this.setHasPEER_ID(true);
2411
+ }
2412
+ hasPUBLISHER_PEER_ID() {
2413
+ return __readPresence(this.view, this.offset, 1);
2414
+ }
2415
+ setHasPUBLISHER_PEER_ID(value) {
2416
+ __writePresence(this.view, this.offset, 1, value);
2417
+ }
2418
+ pUBLISHER_PEER_ID() {
2419
+ return __decodeString(this.view, this.offset + 131, 128);
2420
+ }
2421
+ setPUBLISHER_PEER_ID(value) {
2422
+ __encodeString(this.view, this.offset + 131, 128, value);
2423
+ this.setHasPUBLISHER_PEER_ID(true);
2424
+ }
2425
+ hasGOSSIP_PEER_ID() {
2426
+ return __readPresence(this.view, this.offset, 2);
2427
+ }
2428
+ setHasGOSSIP_PEER_ID(value) {
2429
+ __writePresence(this.view, this.offset, 2, value);
2430
+ }
2431
+ gOSSIP_PEER_ID() {
2432
+ return __decodeString(this.view, this.offset + 260, 128);
2433
+ }
2434
+ setGOSSIP_PEER_ID(value) {
2435
+ __encodeString(this.view, this.offset + 260, 128, value);
2436
+ this.setHasGOSSIP_PEER_ID(true);
2437
+ }
2438
+ hasSTANDARD() {
2439
+ return __readPresence(this.view, this.offset, 3);
2440
+ }
2441
+ setHasSTANDARD(value) {
2442
+ __writePresence(this.view, this.offset, 3, value);
2443
+ }
2444
+ sTANDARD() {
2445
+ return __decodeString(this.view, this.offset + 389, 16);
2446
+ }
2447
+ setSTANDARD(value) {
2448
+ __encodeString(this.view, this.offset + 389, 16, value);
2449
+ this.setHasSTANDARD(true);
2450
+ }
2451
+ hasSCHEMA() {
2452
+ return __readPresence(this.view, this.offset, 4);
2453
+ }
2454
+ setHasSCHEMA(value) {
2455
+ __writePresence(this.view, this.offset, 4, value);
2456
+ }
2457
+ sCHEMA() {
2458
+ return __decodeString(this.view, this.offset + 406, 64);
2459
+ }
2460
+ setSCHEMA(value) {
2461
+ __encodeString(this.view, this.offset + 406, 64, value);
2462
+ this.setHasSCHEMA(true);
2463
+ }
2464
+ hasFILE_ID() {
2465
+ return __readPresence(this.view, this.offset, 5);
2466
+ }
2467
+ setHasFILE_ID(value) {
2468
+ __writePresence(this.view, this.offset, 5, value);
2469
+ }
2470
+ fILE_ID() {
2471
+ return __decodeString(this.view, this.offset + 471, 16);
2472
+ }
2473
+ setFILE_ID(value) {
2474
+ __encodeString(this.view, this.offset + 471, 16, value);
2475
+ this.setHasFILE_ID(true);
2476
+ }
2477
+ hasFILE_NAME() {
2478
+ return __readPresence(this.view, this.offset, 6);
2479
+ }
2480
+ setHasFILE_NAME(value) {
2481
+ __writePresence(this.view, this.offset, 6, value);
2482
+ }
2483
+ fILE_NAME() {
2484
+ return __decodeString(this.view, this.offset + 488, 255);
2485
+ }
2486
+ setFILE_NAME(value) {
2487
+ __encodeString(this.view, this.offset + 488, 255, value);
2488
+ this.setHasFILE_NAME(true);
2489
+ }
2490
+ hasCID() {
2491
+ return __readPresence(this.view, this.offset, 7);
2492
+ }
2493
+ setHasCID(value) {
2494
+ __writePresence(this.view, this.offset, 7, value);
2495
+ }
2496
+ cID() {
2497
+ return __decodeString(this.view, this.offset + 744, 128);
2498
+ }
2499
+ setCID(value) {
2500
+ __encodeString(this.view, this.offset + 744, 128, value);
2501
+ this.setHasCID(true);
2502
+ }
2503
+ pUBLISH_MS() {
2504
+ return this.view.getBigUint64(this.offset + 880, true);
2505
+ }
2506
+ setPUBLISH_MS(value) {
2507
+ this.view.setBigUint64(this.offset + 880, value, true);
2508
+ }
2509
+ hasSIGNATURE_TYPE() {
2510
+ return __readPresence(this.view, this.offset, 8);
2511
+ }
2512
+ setHasSIGNATURE_TYPE(value) {
2513
+ __writePresence(this.view, this.offset, 8, value);
2514
+ }
2515
+ sIGNATURE_TYPE() {
2516
+ return __decodeString(this.view, this.offset + 888, 32);
2517
+ }
2518
+ setSIGNATURE_TYPE(value) {
2519
+ __encodeString(this.view, this.offset + 888, 32, value);
2520
+ this.setHasSIGNATURE_TYPE(true);
2521
+ }
2522
+ hasSIGNATURE_HEX() {
2523
+ return __readPresence(this.view, this.offset, 9);
2524
+ }
2525
+ setHasSIGNATURE_HEX(value) {
2526
+ __writePresence(this.view, this.offset, 9, value);
2527
+ }
2528
+ sIGNATURE_HEX() {
2529
+ return __decodeString(this.view, this.offset + 921, 255);
2530
+ }
2531
+ setSIGNATURE_HEX(value) {
2532
+ __encodeString(this.view, this.offset + 921, 255, value);
2533
+ this.setHasSIGNATURE_HEX(true);
2534
+ }
2535
+ sIGNATURE_VERIFIED() {
2536
+ return this.view.getUint8(this.offset + 1177) !== 0;
2537
+ }
2538
+ setSIGNATURE_VERIFIED(value) {
2539
+ this.view.setUint8(this.offset + 1177, value ? 1 : 0);
2540
+ }
2541
+ hasATTRIBUTION() {
2542
+ return __readPresence(this.view, this.offset, 10);
2543
+ }
2544
+ setHasATTRIBUTION(value) {
2545
+ __writePresence(this.view, this.offset, 10, value);
2546
+ }
2547
+ aTTRIBUTION() {
2548
+ return __decodeString(this.view, this.offset + 1178, 16);
2549
+ }
2550
+ setATTRIBUTION(value) {
2551
+ __encodeString(this.view, this.offset + 1178, 16, value);
2552
+ this.setHasATTRIBUTION(true);
2553
+ }
2554
+ pNM_INDEX() {
2555
+ return this.view.getInt32(this.offset + 1196, true);
2556
+ }
2557
+ setPNM_INDEX(value) {
2558
+ this.view.setInt32(this.offset + 1196, value, true);
2559
+ }
2560
+ hasPUBLISHER_KEY_HEX() {
2561
+ return __readPresence(this.view, this.offset, 11);
2562
+ }
2563
+ setHasPUBLISHER_KEY_HEX(value) {
2564
+ __writePresence(this.view, this.offset, 11, value);
2565
+ }
2566
+ pUBLISHER_KEY_HEX() {
2567
+ return __decodeString(this.view, this.offset + 1200, 128);
2568
+ }
2569
+ setPUBLISHER_KEY_HEX(value) {
2570
+ __encodeString(this.view, this.offset + 1200, 128, value);
2571
+ this.setHasPUBLISHER_KEY_HEX(true);
2572
+ }
2573
+ hasPUBLISHER_KEY_SOURCE() {
2574
+ return __readPresence(this.view, this.offset, 12);
2575
+ }
2576
+ setHasPUBLISHER_KEY_SOURCE(value) {
2577
+ __writePresence(this.view, this.offset, 12, value);
2578
+ }
2579
+ pUBLISHER_KEY_SOURCE() {
2580
+ return __decodeString(this.view, this.offset + 1329, 64);
2581
+ }
2582
+ setPUBLISHER_KEY_SOURCE(value) {
2583
+ __encodeString(this.view, this.offset + 1329, 64, value);
2584
+ this.setHasPUBLISHER_KEY_SOURCE(true);
2585
+ }
2586
+ };
2587
+ __publicField(_P2pPnmEntry, "SIZE", 1400);
2588
+ __publicField(_P2pPnmEntry, "ALIGN", 8);
2589
+ let P2pPnmEntry = _P2pPnmEntry;
2590
+ const _P2pLatestDataset = class _P2pLatestDataset {
2591
+ constructor(buffer, offset = 0) {
2592
+ __publicField(this, "buffer", buffer);
2593
+ __publicField(this, "offset", offset);
2594
+ __publicField(this, "view");
2595
+ this.view = new DataView(buffer);
2596
+ }
2597
+ static fromPointer(buffer, offset = 0) {
2598
+ return new _P2pLatestDataset(buffer, offset);
2599
+ }
2600
+ kNOWN() {
2601
+ return this.view.getUint8(this.offset + 2) !== 0;
2602
+ }
2603
+ setKNOWN(value) {
2604
+ this.view.setUint8(this.offset + 2, value ? 1 : 0);
2605
+ }
2606
+ hasREASON() {
2607
+ return __readPresence(this.view, this.offset, 0);
2608
+ }
2609
+ setHasREASON(value) {
2610
+ __writePresence(this.view, this.offset, 0, value);
2611
+ }
2612
+ rEASON() {
2613
+ return __decodeString(this.view, this.offset + 3, 64);
2614
+ }
2615
+ setREASON(value) {
2616
+ __encodeString(this.view, this.offset + 3, 64, value);
2617
+ this.setHasREASON(true);
2618
+ }
2619
+ pINNED() {
2620
+ return this.view.getUint8(this.offset + 68) !== 0;
2621
+ }
2622
+ setPINNED(value) {
2623
+ this.view.setUint8(this.offset + 68, value ? 1 : 0);
2624
+ }
2625
+ sELF() {
2626
+ return this.view.getUint8(this.offset + 69) !== 0;
2627
+ }
2628
+ setSELF(value) {
2629
+ this.view.setUint8(this.offset + 69, value ? 1 : 0);
2630
+ }
2631
+ fRESH() {
2632
+ return this.view.getUint8(this.offset + 70) !== 0;
2633
+ }
2634
+ setFRESH(value) {
2635
+ this.view.setUint8(this.offset + 70, value ? 1 : 0);
2636
+ }
2637
+ hasSTANDARD() {
2638
+ return __readPresence(this.view, this.offset, 1);
2639
+ }
2640
+ setHasSTANDARD(value) {
2641
+ __writePresence(this.view, this.offset, 1, value);
2642
+ }
2643
+ sTANDARD() {
2644
+ return __decodeString(this.view, this.offset + 71, 16);
2645
+ }
2646
+ setSTANDARD(value) {
2647
+ __encodeString(this.view, this.offset + 71, 16, value);
2648
+ this.setHasSTANDARD(true);
2649
+ }
2650
+ hasSCHEMA() {
2651
+ return __readPresence(this.view, this.offset, 2);
2652
+ }
2653
+ setHasSCHEMA(value) {
2654
+ __writePresence(this.view, this.offset, 2, value);
2655
+ }
2656
+ sCHEMA() {
2657
+ return __decodeString(this.view, this.offset + 88, 64);
2658
+ }
2659
+ setSCHEMA(value) {
2660
+ __encodeString(this.view, this.offset + 88, 64, value);
2661
+ this.setHasSCHEMA(true);
2662
+ }
2663
+ hasPNM_CID() {
2664
+ return __readPresence(this.view, this.offset, 3);
2665
+ }
2666
+ setHasPNM_CID(value) {
2667
+ __writePresence(this.view, this.offset, 3, value);
2668
+ }
2669
+ pNM_CID() {
2670
+ return __decodeString(this.view, this.offset + 153, 128);
2671
+ }
2672
+ setPNM_CID(value) {
2673
+ __encodeString(this.view, this.offset + 153, 128, value);
2674
+ this.setHasPNM_CID(true);
2675
+ }
2676
+ hasPNM_FILE_ID() {
2677
+ return __readPresence(this.view, this.offset, 4);
2678
+ }
2679
+ setHasPNM_FILE_ID(value) {
2680
+ __writePresence(this.view, this.offset, 4, value);
2681
+ }
2682
+ pNM_FILE_ID() {
2683
+ return __decodeString(this.view, this.offset + 282, 16);
2684
+ }
2685
+ setPNM_FILE_ID(value) {
2686
+ __encodeString(this.view, this.offset + 282, 16, value);
2687
+ this.setHasPNM_FILE_ID(true);
2688
+ }
2689
+ pNM_PUBLISH_MS() {
2690
+ return this.view.getBigUint64(this.offset + 304, true);
2691
+ }
2692
+ setPNM_PUBLISH_MS(value) {
2693
+ this.view.setBigUint64(this.offset + 304, value, true);
2694
+ }
2695
+ pNM_SIGNATURE_VERIFIED() {
2696
+ return this.view.getUint8(this.offset + 312) !== 0;
2697
+ }
2698
+ setPNM_SIGNATURE_VERIFIED(value) {
2699
+ this.view.setUint8(this.offset + 312, value ? 1 : 0);
2700
+ }
2701
+ hasPNM_ATTRIBUTION() {
2702
+ return __readPresence(this.view, this.offset, 5);
2703
+ }
2704
+ setHasPNM_ATTRIBUTION(value) {
2705
+ __writePresence(this.view, this.offset, 5, value);
2706
+ }
2707
+ pNM_ATTRIBUTION() {
2708
+ return __decodeString(this.view, this.offset + 313, 16);
2709
+ }
2710
+ setPNM_ATTRIBUTION(value) {
2711
+ __encodeString(this.view, this.offset + 313, 16, value);
2712
+ this.setHasPNM_ATTRIBUTION(true);
2713
+ }
2714
+ hasBATCH_ID() {
2715
+ return __readPresence(this.view, this.offset, 6);
2716
+ }
2717
+ setHasBATCH_ID(value) {
2718
+ __writePresence(this.view, this.offset, 6, value);
2719
+ }
2720
+ bATCH_ID() {
2721
+ return __decodeString(this.view, this.offset + 330, 128);
2722
+ }
2723
+ setBATCH_ID(value) {
2724
+ __encodeString(this.view, this.offset + 330, 128, value);
2725
+ this.setHasBATCH_ID(true);
2726
+ }
2727
+ hasPROVIDER_ID() {
2728
+ return __readPresence(this.view, this.offset, 7);
2729
+ }
2730
+ setHasPROVIDER_ID(value) {
2731
+ __writePresence(this.view, this.offset, 7, value);
2732
+ }
2733
+ pROVIDER_ID() {
2734
+ return __decodeString(this.view, this.offset + 459, 128);
2735
+ }
2736
+ setPROVIDER_ID(value) {
2737
+ __encodeString(this.view, this.offset + 459, 128, value);
2738
+ this.setHasPROVIDER_ID(true);
2739
+ }
2740
+ hasSOURCE_NAME() {
2741
+ return __readPresence(this.view, this.offset, 8);
2742
+ }
2743
+ setHasSOURCE_NAME(value) {
2744
+ __writePresence(this.view, this.offset, 8, value);
2745
+ }
2746
+ sOURCE_NAME() {
2747
+ return __decodeString(this.view, this.offset + 588, 128);
2748
+ }
2749
+ setSOURCE_NAME(value) {
2750
+ __encodeString(this.view, this.offset + 588, 128, value);
2751
+ this.setHasSOURCE_NAME(true);
2752
+ }
2753
+ rECORD_COUNT() {
2754
+ return this.view.getBigUint64(this.offset + 720, true);
2755
+ }
2756
+ setRECORD_COUNT(value) {
2757
+ this.view.setBigUint64(this.offset + 720, value, true);
2758
+ }
2759
+ bYTE_COUNT() {
2760
+ return this.view.getBigUint64(this.offset + 728, true);
2761
+ }
2762
+ setBYTE_COUNT(value) {
2763
+ this.view.setBigUint64(this.offset + 728, value, true);
2764
+ }
2765
+ pARTS() {
2766
+ return this.view.getUint32(this.offset + 736, true);
2767
+ }
2768
+ setPARTS(value) {
2769
+ this.view.setUint32(this.offset + 736, value, true);
2770
+ }
2771
+ pUBLISHED_MS() {
2772
+ return this.view.getBigUint64(this.offset + 744, true);
2773
+ }
2774
+ setPUBLISHED_MS(value) {
2775
+ this.view.setBigUint64(this.offset + 744, value, true);
2776
+ }
2777
+ hasETAG_FNV1A64() {
2778
+ return __readPresence(this.view, this.offset, 9);
2779
+ }
2780
+ setHasETAG_FNV1A64(value) {
2781
+ __writePresence(this.view, this.offset, 9, value);
2782
+ }
2783
+ eTAG_FNV1A64() {
2784
+ return __decodeString(this.view, this.offset + 752, 16);
2785
+ }
2786
+ setETAG_FNV1A64(value) {
2787
+ __encodeString(this.view, this.offset + 752, 16, value);
2788
+ this.setHasETAG_FNV1A64(true);
2789
+ }
2790
+ hasREF() {
2791
+ return __readPresence(this.view, this.offset, 10);
2792
+ }
2793
+ setHasREF(value) {
2794
+ __writePresence(this.view, this.offset, 10, value);
2795
+ }
2796
+ rEF() {
2797
+ return new BodyRef(this.buffer, this.offset + 776);
2798
+ }
2799
+ };
2800
+ __publicField(_P2pLatestDataset, "SIZE", 832);
2801
+ __publicField(_P2pLatestDataset, "ALIGN", 8);
2802
+ let P2pLatestDataset = _P2pLatestDataset;
2803
+ const _NodeStatusReport = class _NodeStatusReport {
2804
+ constructor(buffer, offset = 0) {
2805
+ __publicField(this, "buffer", buffer);
2806
+ __publicField(this, "offset", offset);
2807
+ __publicField(this, "view");
2808
+ this.view = new DataView(buffer);
2809
+ }
2810
+ static fromPointer(buffer, offset = 0) {
2811
+ return new _NodeStatusReport(buffer, offset);
2812
+ }
2813
+ uPTIME_S() {
2814
+ return this.view.getBigUint64(this.offset + 8, true);
2815
+ }
2816
+ setUPTIME_S(value) {
2817
+ this.view.setBigUint64(this.offset + 8, value, true);
2818
+ }
2819
+ sTARTED_MS() {
2820
+ return this.view.getBigUint64(this.offset + 16, true);
2821
+ }
2822
+ setSTARTED_MS(value) {
2823
+ this.view.setBigUint64(this.offset + 16, value, true);
2824
+ }
2825
+ sTORE_TOTAL_BYTES() {
2826
+ return this.view.getBigUint64(this.offset + 24, true);
2827
+ }
2828
+ setSTORE_TOTAL_BYTES(value) {
2829
+ this.view.setBigUint64(this.offset + 24, value, true);
2830
+ }
2831
+ sTORE_TOTAL_RECORDS() {
2832
+ return this.view.getBigUint64(this.offset + 32, true);
2833
+ }
2834
+ setSTORE_TOTAL_RECORDS(value) {
2835
+ this.view.setBigUint64(this.offset + 32, value, true);
2836
+ }
2837
+ hasSTORAGE_PATH() {
2838
+ return __readPresence(this.view, this.offset, 0);
2839
+ }
2840
+ setHasSTORAGE_PATH(value) {
2841
+ __writePresence(this.view, this.offset, 0, value);
2842
+ }
2843
+ sTORAGE_PATH() {
2844
+ return __decodeString(this.view, this.offset + 40, 255);
2845
+ }
2846
+ setSTORAGE_PATH(value) {
2847
+ __encodeString(this.view, this.offset + 40, 255, value);
2848
+ this.setHasSTORAGE_PATH(true);
2849
+ }
2850
+ hAS_DISK() {
2851
+ return this.view.getUint8(this.offset + 296) !== 0;
2852
+ }
2853
+ setHAS_DISK(value) {
2854
+ this.view.setUint8(this.offset + 296, value ? 1 : 0);
2855
+ }
2856
+ dISK_CAPACITY_BYTES() {
2857
+ return this.view.getBigUint64(this.offset + 304, true);
2858
+ }
2859
+ setDISK_CAPACITY_BYTES(value) {
2860
+ this.view.setBigUint64(this.offset + 304, value, true);
2861
+ }
2862
+ dISK_FREE_BYTES() {
2863
+ return this.view.getBigUint64(this.offset + 312, true);
2864
+ }
2865
+ setDISK_FREE_BYTES(value) {
2866
+ this.view.setBigUint64(this.offset + 312, value, true);
2867
+ }
2868
+ dISK_AVAILABLE_BYTES() {
2869
+ return this.view.getBigUint64(this.offset + 320, true);
2870
+ }
2871
+ setDISK_AVAILABLE_BYTES(value) {
2872
+ this.view.setBigUint64(this.offset + 320, value, true);
2873
+ }
2874
+ hasSERVICE_STATE() {
2875
+ return __readPresence(this.view, this.offset, 1);
2876
+ }
2877
+ setHasSERVICE_STATE(value) {
2878
+ __writePresence(this.view, this.offset, 1, value);
2879
+ }
2880
+ sERVICE_STATE() {
2881
+ return __decodeString(this.view, this.offset + 328, 32);
2882
+ }
2883
+ setSERVICE_STATE(value) {
2884
+ __encodeString(this.view, this.offset + 328, 32, value);
2885
+ this.setHasSERVICE_STATE(true);
2886
+ }
2887
+ hasSERVICE_MODE() {
2888
+ return __readPresence(this.view, this.offset, 2);
2889
+ }
2890
+ setHasSERVICE_MODE(value) {
2891
+ __writePresence(this.view, this.offset, 2, value);
2892
+ }
2893
+ sERVICE_MODE() {
2894
+ return __decodeString(this.view, this.offset + 361, 32);
2895
+ }
2896
+ setSERVICE_MODE(value) {
2897
+ __encodeString(this.view, this.offset + 361, 32, value);
2898
+ this.setHasSERVICE_MODE(true);
2899
+ }
2900
+ hAS_BANDWIDTH() {
2901
+ return this.view.getUint8(this.offset + 394) !== 0;
2902
+ }
2903
+ setHAS_BANDWIDTH(value) {
2904
+ this.view.setUint8(this.offset + 394, value ? 1 : 0);
2905
+ }
2906
+ tOTAL_IN_BYTES() {
2907
+ return this.view.getBigUint64(this.offset + 400, true);
2908
+ }
2909
+ setTOTAL_IN_BYTES(value) {
2910
+ this.view.setBigUint64(this.offset + 400, value, true);
2911
+ }
2912
+ tOTAL_OUT_BYTES() {
2913
+ return this.view.getBigUint64(this.offset + 408, true);
2914
+ }
2915
+ setTOTAL_OUT_BYTES(value) {
2916
+ this.view.setBigUint64(this.offset + 408, value, true);
2917
+ }
2918
+ rATE_IN_BPS() {
2919
+ return this.view.getFloat64(this.offset + 416, true);
2920
+ }
2921
+ setRATE_IN_BPS(value) {
2922
+ this.view.setFloat64(this.offset + 416, value, true);
2923
+ }
2924
+ rATE_OUT_BPS() {
2925
+ return this.view.getFloat64(this.offset + 424, true);
2926
+ }
2927
+ setRATE_OUT_BPS(value) {
2928
+ this.view.setFloat64(this.offset + 424, value, true);
2929
+ }
2930
+ };
2931
+ __publicField(_NodeStatusReport, "SIZE", 432);
2932
+ __publicField(_NodeStatusReport, "ALIGN", 8);
2933
+ let NodeStatusReport = _NodeStatusReport;
2934
+ const _NodeBandwidthSample = class _NodeBandwidthSample {
2935
+ constructor(buffer, offset = 0) {
2936
+ __publicField(this, "buffer", buffer);
2937
+ __publicField(this, "offset", offset);
2938
+ __publicField(this, "view");
2939
+ this.view = new DataView(buffer);
2940
+ }
2941
+ static fromPointer(buffer, offset = 0) {
2942
+ return new _NodeBandwidthSample(buffer, offset);
2943
+ }
2944
+ tS_MS() {
2945
+ return this.view.getBigUint64(this.offset + 0, true);
2946
+ }
2947
+ setTS_MS(value) {
2948
+ this.view.setBigUint64(this.offset + 0, value, true);
2949
+ }
2950
+ tOTAL_IN_BYTES() {
2951
+ return this.view.getBigUint64(this.offset + 8, true);
2952
+ }
2953
+ setTOTAL_IN_BYTES(value) {
2954
+ this.view.setBigUint64(this.offset + 8, value, true);
2955
+ }
2956
+ tOTAL_OUT_BYTES() {
2957
+ return this.view.getBigUint64(this.offset + 16, true);
2958
+ }
2959
+ setTOTAL_OUT_BYTES(value) {
2960
+ this.view.setBigUint64(this.offset + 16, value, true);
2961
+ }
2962
+ rATE_IN_BPS() {
2963
+ return this.view.getFloat64(this.offset + 24, true);
2964
+ }
2965
+ setRATE_IN_BPS(value) {
2966
+ this.view.setFloat64(this.offset + 24, value, true);
2967
+ }
2968
+ rATE_OUT_BPS() {
2969
+ return this.view.getFloat64(this.offset + 32, true);
2970
+ }
2971
+ setRATE_OUT_BPS(value) {
2972
+ this.view.setFloat64(this.offset + 32, value, true);
2973
+ }
2974
+ };
2975
+ __publicField(_NodeBandwidthSample, "SIZE", 40);
2976
+ __publicField(_NodeBandwidthSample, "ALIGN", 8);
2977
+ let NodeBandwidthSample = _NodeBandwidthSample;
2978
+ const _NodeActivityParams = class _NodeActivityParams {
2979
+ constructor(buffer, offset = 0) {
2980
+ __publicField(this, "buffer", buffer);
2981
+ __publicField(this, "offset", offset);
2982
+ __publicField(this, "view");
2983
+ this.view = new DataView(buffer);
2984
+ }
2985
+ static fromPointer(buffer, offset = 0) {
2986
+ return new _NodeActivityParams(buffer, offset);
2987
+ }
2988
+ lIMIT() {
2989
+ return this.view.getUint32(this.offset + 0, true);
2990
+ }
2991
+ setLIMIT(value) {
2992
+ this.view.setUint32(this.offset + 0, value, true);
2993
+ }
2994
+ };
2995
+ __publicField(_NodeActivityParams, "SIZE", 4);
2996
+ __publicField(_NodeActivityParams, "ALIGN", 4);
2997
+ let NodeActivityParams = _NodeActivityParams;
2998
+ const _NodeActivityEvent = class _NodeActivityEvent {
2999
+ constructor(buffer, offset = 0) {
3000
+ __publicField(this, "buffer", buffer);
3001
+ __publicField(this, "offset", offset);
3002
+ __publicField(this, "view");
3003
+ this.view = new DataView(buffer);
3004
+ }
3005
+ static fromPointer(buffer, offset = 0) {
3006
+ return new _NodeActivityEvent(buffer, offset);
3007
+ }
3008
+ tS_MS() {
3009
+ return this.view.getBigUint64(this.offset + 8, true);
3010
+ }
3011
+ setTS_MS(value) {
3012
+ this.view.setBigUint64(this.offset + 8, value, true);
3013
+ }
3014
+ hasKIND() {
3015
+ return __readPresence(this.view, this.offset, 0);
3016
+ }
3017
+ setHasKIND(value) {
3018
+ __writePresence(this.view, this.offset, 0, value);
3019
+ }
3020
+ kIND() {
3021
+ return __decodeString(this.view, this.offset + 16, 32);
3022
+ }
3023
+ setKIND(value) {
3024
+ __encodeString(this.view, this.offset + 16, 32, value);
3025
+ this.setHasKIND(true);
3026
+ }
3027
+ hasDETAIL() {
3028
+ return __readPresence(this.view, this.offset, 1);
3029
+ }
3030
+ setHasDETAIL(value) {
3031
+ __writePresence(this.view, this.offset, 1, value);
3032
+ }
3033
+ dETAIL() {
3034
+ return __decodeString(this.view, this.offset + 49, 255);
3035
+ }
3036
+ setDETAIL(value) {
3037
+ __encodeString(this.view, this.offset + 49, 255, value);
3038
+ this.setHasDETAIL(true);
3039
+ }
3040
+ hasPEER_ID() {
3041
+ return __readPresence(this.view, this.offset, 2);
3042
+ }
3043
+ setHasPEER_ID(value) {
3044
+ __writePresence(this.view, this.offset, 2, value);
3045
+ }
3046
+ pEER_ID() {
3047
+ return __decodeString(this.view, this.offset + 305, 128);
3048
+ }
3049
+ setPEER_ID(value) {
3050
+ __encodeString(this.view, this.offset + 305, 128, value);
3051
+ this.setHasPEER_ID(true);
3052
+ }
3053
+ };
3054
+ __publicField(_NodeActivityEvent, "SIZE", 440);
3055
+ __publicField(_NodeActivityEvent, "ALIGN", 8);
3056
+ let NodeActivityEvent = _NodeActivityEvent;
3057
+ const _TimersDelayParams = class _TimersDelayParams {
3058
+ constructor(buffer, offset = 0) {
3059
+ __publicField(this, "buffer", buffer);
3060
+ __publicField(this, "offset", offset);
3061
+ __publicField(this, "view");
3062
+ this.view = new DataView(buffer);
3063
+ }
3064
+ static fromPointer(buffer, offset = 0) {
3065
+ return new _TimersDelayParams(buffer, offset);
3066
+ }
3067
+ mS() {
3068
+ return this.view.getUint32(this.offset + 0, true);
3069
+ }
3070
+ setMS(value) {
3071
+ this.view.setUint32(this.offset + 0, value, true);
3072
+ }
3073
+ };
3074
+ __publicField(_TimersDelayParams, "SIZE", 4);
3075
+ __publicField(_TimersDelayParams, "ALIGN", 4);
3076
+ let TimersDelayParams = _TimersDelayParams;
3077
+ const _ScheduleParams = class _ScheduleParams {
3078
+ constructor(buffer, offset = 0) {
3079
+ __publicField(this, "buffer", buffer);
3080
+ __publicField(this, "offset", offset);
3081
+ __publicField(this, "view");
3082
+ this.view = new DataView(buffer);
3083
+ }
3084
+ static fromPointer(buffer, offset = 0) {
3085
+ return new _ScheduleParams(buffer, offset);
3086
+ }
3087
+ hasEXPRESSION() {
3088
+ return __readPresence(this.view, this.offset, 0);
3089
+ }
3090
+ setHasEXPRESSION(value) {
3091
+ __writePresence(this.view, this.offset, 0, value);
3092
+ }
3093
+ eXPRESSION() {
3094
+ return __decodeString(this.view, this.offset + 1, 128);
3095
+ }
3096
+ setEXPRESSION(value) {
3097
+ __encodeString(this.view, this.offset + 1, 128, value);
3098
+ this.setHasEXPRESSION(true);
3099
+ }
3100
+ aT_MS() {
3101
+ return this.view.getBigUint64(this.offset + 136, true);
3102
+ }
3103
+ setAT_MS(value) {
3104
+ this.view.setBigUint64(this.offset + 136, value, true);
3105
+ }
3106
+ };
3107
+ __publicField(_ScheduleParams, "SIZE", 144);
3108
+ __publicField(_ScheduleParams, "ALIGN", 8);
3109
+ let ScheduleParams = _ScheduleParams;
3110
+ const _CronField = class _CronField {
3111
+ constructor(buffer, offset = 0) {
3112
+ __publicField(this, "buffer", buffer);
3113
+ __publicField(this, "offset", offset);
3114
+ __publicField(this, "view");
3115
+ this.view = new DataView(buffer);
3116
+ }
3117
+ static fromPointer(buffer, offset = 0) {
3118
+ return new _CronField(buffer, offset);
3119
+ }
3120
+ hasNAME() {
3121
+ return __readPresence(this.view, this.offset, 0);
3122
+ }
3123
+ setHasNAME(value) {
3124
+ __writePresence(this.view, this.offset, 0, value);
3125
+ }
3126
+ nAME() {
3127
+ return __decodeString(this.view, this.offset + 1, 16);
3128
+ }
3129
+ setNAME(value) {
3130
+ __encodeString(this.view, this.offset + 1, 16, value);
3131
+ this.setHasNAME(true);
3132
+ }
3133
+ hasSOURCE() {
3134
+ return __readPresence(this.view, this.offset, 1);
3135
+ }
3136
+ setHasSOURCE(value) {
3137
+ __writePresence(this.view, this.offset, 1, value);
3138
+ }
3139
+ sOURCE() {
3140
+ return __decodeString(this.view, this.offset + 18, 64);
3141
+ }
3142
+ setSOURCE(value) {
3143
+ __encodeString(this.view, this.offset + 18, 64, value);
3144
+ this.setHasSOURCE(true);
3145
+ }
3146
+ hAS_WILDCARD() {
3147
+ return this.view.getUint8(this.offset + 83) !== 0;
3148
+ }
3149
+ setHAS_WILDCARD(value) {
3150
+ this.view.setUint8(this.offset + 83, value ? 1 : 0);
3151
+ }
3152
+ hasVALUES() {
3153
+ return __readPresence(this.view, this.offset, 2);
3154
+ }
3155
+ setHasVALUES(value) {
3156
+ __writePresence(this.view, this.offset, 2, value);
3157
+ }
3158
+ vALUESLength() {
3159
+ if (!this.hasVALUES()) {
3160
+ return 0;
3161
+ }
3162
+ return Math.min(this.view.getUint32(this.offset + 84, true), 60);
3163
+ }
3164
+ setVALUESLength(length) {
3165
+ const bounded = Math.max(0, Math.min(length, 60));
3166
+ this.view.setUint32(this.offset + 84, bounded, true);
3167
+ this.setHasVALUES(true);
3168
+ }
3169
+ vALUESAt(i) {
3170
+ return this.view.getInt32(this.offset + 84 + 4 + i * 4, true);
3171
+ }
3172
+ setVALUESAt(i, value) {
3173
+ this.view.setInt32(this.offset + 84 + 4 + i * 4, value, true);
3174
+ this.setHasVALUES(true);
3175
+ }
3176
+ };
3177
+ __publicField(_CronField, "SIZE", 328);
3178
+ __publicField(_CronField, "ALIGN", 4);
3179
+ let CronField = _CronField;
3180
+ const _WebsocketParams = class _WebsocketParams {
3181
+ constructor(buffer, offset = 0) {
3182
+ __publicField(this, "buffer", buffer);
3183
+ __publicField(this, "offset", offset);
3184
+ __publicField(this, "view");
3185
+ this.view = new DataView(buffer);
3186
+ }
3187
+ static fromPointer(buffer, offset = 0) {
3188
+ return new _WebsocketParams(buffer, offset);
3189
+ }
3190
+ tIMEOUT_MS() {
3191
+ return this.view.getUint32(this.offset + 0, true);
3192
+ }
3193
+ setTIMEOUT_MS(value) {
3194
+ this.view.setUint32(this.offset + 0, value, true);
3195
+ }
3196
+ nO_RESPONSE() {
3197
+ return this.view.getUint8(this.offset + 4) !== 0;
3198
+ }
3199
+ setNO_RESPONSE(value) {
3200
+ this.view.setUint8(this.offset + 4, value ? 1 : 0);
3201
+ }
3202
+ mESSAGE_IS_TEXT() {
3203
+ return this.view.getUint8(this.offset + 5) !== 0;
3204
+ }
3205
+ setMESSAGE_IS_TEXT(value) {
3206
+ this.view.setUint8(this.offset + 5, value ? 1 : 0);
3207
+ }
3208
+ };
3209
+ __publicField(_WebsocketParams, "SIZE", 8);
3210
+ __publicField(_WebsocketParams, "ALIGN", 4);
3211
+ let WebsocketParams = _WebsocketParams;
3212
+ const _WebsocketResult = class _WebsocketResult {
3213
+ constructor(buffer, offset = 0) {
3214
+ __publicField(this, "buffer", buffer);
3215
+ __publicField(this, "offset", offset);
3216
+ __publicField(this, "view");
3217
+ this.view = new DataView(buffer);
3218
+ }
3219
+ static fromPointer(buffer, offset = 0) {
3220
+ return new _WebsocketResult(buffer, offset);
3221
+ }
3222
+ hasPROTOCOL() {
3223
+ return __readPresence(this.view, this.offset, 0);
3224
+ }
3225
+ setHasPROTOCOL(value) {
3226
+ __writePresence(this.view, this.offset, 0, value);
3227
+ }
3228
+ pROTOCOL() {
3229
+ return __decodeString(this.view, this.offset + 1, 64);
3230
+ }
3231
+ setPROTOCOL(value) {
3232
+ __encodeString(this.view, this.offset + 1, 64, value);
3233
+ this.setHasPROTOCOL(true);
3234
+ }
3235
+ hasEXTENSIONS() {
3236
+ return __readPresence(this.view, this.offset, 1);
3237
+ }
3238
+ setHasEXTENSIONS(value) {
3239
+ __writePresence(this.view, this.offset, 1, value);
3240
+ }
3241
+ eXTENSIONS() {
3242
+ return __decodeString(this.view, this.offset + 66, 255);
3243
+ }
3244
+ setEXTENSIONS(value) {
3245
+ __encodeString(this.view, this.offset + 66, 255, value);
3246
+ this.setHasEXTENSIONS(true);
3247
+ }
3248
+ cLOSE_CODE() {
3249
+ return this.view.getInt32(this.offset + 324, true);
3250
+ }
3251
+ setCLOSE_CODE(value) {
3252
+ this.view.setInt32(this.offset + 324, value, true);
3253
+ }
3254
+ hasCLOSE_REASON() {
3255
+ return __readPresence(this.view, this.offset, 2);
3256
+ }
3257
+ setHasCLOSE_REASON(value) {
3258
+ __writePresence(this.view, this.offset, 2, value);
3259
+ }
3260
+ cLOSE_REASON() {
3261
+ return __decodeString(this.view, this.offset + 328, 255);
3262
+ }
3263
+ setCLOSE_REASON(value) {
3264
+ __encodeString(this.view, this.offset + 328, 255, value);
3265
+ this.setHasCLOSE_REASON(true);
3266
+ }
3267
+ bODY_IS_TEXT() {
3268
+ return this.view.getUint8(this.offset + 584) !== 0;
3269
+ }
3270
+ setBODY_IS_TEXT(value) {
3271
+ this.view.setUint8(this.offset + 584, value ? 1 : 0);
3272
+ }
3273
+ };
3274
+ __publicField(_WebsocketResult, "SIZE", 588);
3275
+ __publicField(_WebsocketResult, "ALIGN", 4);
3276
+ let WebsocketResult = _WebsocketResult;
3277
+ const _MqttParams = class _MqttParams {
3278
+ constructor(buffer, offset = 0) {
3279
+ __publicField(this, "buffer", buffer);
3280
+ __publicField(this, "offset", offset);
3281
+ __publicField(this, "view");
3282
+ this.view = new DataView(buffer);
3283
+ }
3284
+ static fromPointer(buffer, offset = 0) {
3285
+ return new _MqttParams(buffer, offset);
3286
+ }
3287
+ hasHOST() {
3288
+ return __readPresence(this.view, this.offset, 0);
3289
+ }
3290
+ setHasHOST(value) {
3291
+ __writePresence(this.view, this.offset, 0, value);
3292
+ }
3293
+ hOST() {
3294
+ return __decodeString(this.view, this.offset + 1, 255);
3295
+ }
3296
+ setHOST(value) {
3297
+ __encodeString(this.view, this.offset + 1, 255, value);
3298
+ this.setHasHOST(true);
3299
+ }
3300
+ pORT() {
3301
+ return this.view.getUint16(this.offset + 258, true);
3302
+ }
3303
+ setPORT(value) {
3304
+ this.view.setUint16(this.offset + 258, value, true);
3305
+ }
3306
+ hasCLIENT_ID() {
3307
+ return __readPresence(this.view, this.offset, 1);
3308
+ }
3309
+ setHasCLIENT_ID(value) {
3310
+ __writePresence(this.view, this.offset, 1, value);
3311
+ }
3312
+ cLIENT_ID() {
3313
+ return __decodeString(this.view, this.offset + 260, 128);
3314
+ }
3315
+ setCLIENT_ID(value) {
3316
+ __encodeString(this.view, this.offset + 260, 128, value);
3317
+ this.setHasCLIENT_ID(true);
3318
+ }
3319
+ hasTOPIC() {
3320
+ return __readPresence(this.view, this.offset, 2);
3321
+ }
3322
+ setHasTOPIC(value) {
3323
+ __writePresence(this.view, this.offset, 2, value);
3324
+ }
3325
+ tOPIC() {
3326
+ return __decodeString(this.view, this.offset + 389, 255);
3327
+ }
3328
+ setTOPIC(value) {
3329
+ __encodeString(this.view, this.offset + 389, 255, value);
3330
+ this.setHasTOPIC(true);
3331
+ }
3332
+ hasUSERNAME() {
3333
+ return __readPresence(this.view, this.offset, 3);
3334
+ }
3335
+ setHasUSERNAME(value) {
3336
+ __writePresence(this.view, this.offset, 3, value);
3337
+ }
3338
+ uSERNAME() {
3339
+ return __decodeString(this.view, this.offset + 645, 128);
3340
+ }
3341
+ setUSERNAME(value) {
3342
+ __encodeString(this.view, this.offset + 645, 128, value);
3343
+ this.setHasUSERNAME(true);
3344
+ }
3345
+ kEEP_ALIVE_S() {
3346
+ return this.view.getUint16(this.offset + 774, true);
3347
+ }
3348
+ setKEEP_ALIVE_S(value) {
3349
+ this.view.setUint16(this.offset + 774, value, true);
3350
+ }
3351
+ tIMEOUT_MS() {
3352
+ return this.view.getUint32(this.offset + 776, true);
3353
+ }
3354
+ setTIMEOUT_MS(value) {
3355
+ this.view.setUint32(this.offset + 776, value, true);
3356
+ }
3357
+ pACKET_ID() {
3358
+ return this.view.getUint16(this.offset + 780, true);
3359
+ }
3360
+ setPACKET_ID(value) {
3361
+ this.view.setUint16(this.offset + 780, value, true);
3362
+ }
3363
+ };
3364
+ __publicField(_MqttParams, "SIZE", 784);
3365
+ __publicField(_MqttParams, "ALIGN", 4);
3366
+ let MqttParams = _MqttParams;
3367
+ const _MqttResult = class _MqttResult {
3368
+ constructor(buffer, offset = 0) {
3369
+ __publicField(this, "buffer", buffer);
3370
+ __publicField(this, "offset", offset);
3371
+ __publicField(this, "view");
3372
+ this.view = new DataView(buffer);
3373
+ }
3374
+ static fromPointer(buffer, offset = 0) {
3375
+ return new _MqttResult(buffer, offset);
3376
+ }
3377
+ hasHOST() {
3378
+ return __readPresence(this.view, this.offset, 0);
3379
+ }
3380
+ setHasHOST(value) {
3381
+ __writePresence(this.view, this.offset, 0, value);
3382
+ }
3383
+ hOST() {
3384
+ return __decodeString(this.view, this.offset + 1, 255);
3385
+ }
3386
+ setHOST(value) {
3387
+ __encodeString(this.view, this.offset + 1, 255, value);
3388
+ this.setHasHOST(true);
3389
+ }
3390
+ pORT() {
3391
+ return this.view.getUint16(this.offset + 258, true);
3392
+ }
3393
+ setPORT(value) {
3394
+ this.view.setUint16(this.offset + 258, value, true);
3395
+ }
3396
+ hasCLIENT_ID() {
3397
+ return __readPresence(this.view, this.offset, 1);
3398
+ }
3399
+ setHasCLIENT_ID(value) {
3400
+ __writePresence(this.view, this.offset, 1, value);
3401
+ }
3402
+ cLIENT_ID() {
3403
+ return __decodeString(this.view, this.offset + 260, 128);
3404
+ }
3405
+ setCLIENT_ID(value) {
3406
+ __encodeString(this.view, this.offset + 260, 128, value);
3407
+ this.setHasCLIENT_ID(true);
3408
+ }
3409
+ hasTOPIC() {
3410
+ return __readPresence(this.view, this.offset, 2);
3411
+ }
3412
+ setHasTOPIC(value) {
3413
+ __writePresence(this.view, this.offset, 2, value);
3414
+ }
3415
+ tOPIC() {
3416
+ return __decodeString(this.view, this.offset + 389, 255);
3417
+ }
3418
+ setTOPIC(value) {
3419
+ __encodeString(this.view, this.offset + 389, 255, value);
3420
+ this.setHasTOPIC(true);
3421
+ }
3422
+ pAYLOAD_BYTES() {
3423
+ return this.view.getBigUint64(this.offset + 648, true);
3424
+ }
3425
+ setPAYLOAD_BYTES(value) {
3426
+ this.view.setBigUint64(this.offset + 648, value, true);
3427
+ }
3428
+ };
3429
+ __publicField(_MqttResult, "SIZE", 656);
3430
+ __publicField(_MqttResult, "ALIGN", 8);
3431
+ let MqttResult = _MqttResult;
3432
+ const _SocketParams = class _SocketParams {
3433
+ constructor(buffer, offset = 0) {
3434
+ __publicField(this, "buffer", buffer);
3435
+ __publicField(this, "offset", offset);
3436
+ __publicField(this, "view");
3437
+ this.view = new DataView(buffer);
3438
+ }
3439
+ static fromPointer(buffer, offset = 0) {
3440
+ return new _SocketParams(buffer, offset);
3441
+ }
3442
+ hasHOST() {
3443
+ return __readPresence(this.view, this.offset, 0);
3444
+ }
3445
+ setHasHOST(value) {
3446
+ __writePresence(this.view, this.offset, 0, value);
3447
+ }
3448
+ hOST() {
3449
+ return __decodeString(this.view, this.offset + 1, 255);
3450
+ }
3451
+ setHOST(value) {
3452
+ __encodeString(this.view, this.offset + 1, 255, value);
3453
+ this.setHasHOST(true);
3454
+ }
3455
+ pORT() {
3456
+ return this.view.getUint16(this.offset + 258, true);
3457
+ }
3458
+ setPORT(value) {
3459
+ this.view.setUint16(this.offset + 258, value, true);
3460
+ }
3461
+ tIMEOUT_MS() {
3462
+ return this.view.getUint32(this.offset + 260, true);
3463
+ }
3464
+ setTIMEOUT_MS(value) {
3465
+ this.view.setUint32(this.offset + 260, value, true);
3466
+ }
3467
+ nO_RESPONSE() {
3468
+ return this.view.getUint8(this.offset + 264) !== 0;
3469
+ }
3470
+ setNO_RESPONSE(value) {
3471
+ this.view.setUint8(this.offset + 264, value ? 1 : 0);
3472
+ }
3473
+ hasBIND_ADDRESS() {
3474
+ return __readPresence(this.view, this.offset, 1);
3475
+ }
3476
+ setHasBIND_ADDRESS(value) {
3477
+ __writePresence(this.view, this.offset, 1, value);
3478
+ }
3479
+ bIND_ADDRESS() {
3480
+ return __decodeString(this.view, this.offset + 265, 64);
3481
+ }
3482
+ setBIND_ADDRESS(value) {
3483
+ __encodeString(this.view, this.offset + 265, 64, value);
3484
+ this.setHasBIND_ADDRESS(true);
3485
+ }
3486
+ bIND_PORT() {
3487
+ return this.view.getUint16(this.offset + 330, true);
3488
+ }
3489
+ setBIND_PORT(value) {
3490
+ this.view.setUint16(this.offset + 330, value, true);
3491
+ }
3492
+ hasUDP_TYPE() {
3493
+ return __readPresence(this.view, this.offset, 2);
3494
+ }
3495
+ setHasUDP_TYPE(value) {
3496
+ __writePresence(this.view, this.offset, 2, value);
3497
+ }
3498
+ uDP_TYPE() {
3499
+ return __decodeString(this.view, this.offset + 332, 8);
3500
+ }
3501
+ setUDP_TYPE(value) {
3502
+ __encodeString(this.view, this.offset + 332, 8, value);
3503
+ this.setHasUDP_TYPE(true);
3504
+ }
3505
+ aLLOW_UNAUTHORIZED() {
3506
+ return this.view.getUint8(this.offset + 341) !== 0;
3507
+ }
3508
+ setALLOW_UNAUTHORIZED(value) {
3509
+ this.view.setUint8(this.offset + 341, value ? 1 : 0);
3510
+ }
3511
+ hasSERVER_NAME() {
3512
+ return __readPresence(this.view, this.offset, 3);
3513
+ }
3514
+ setHasSERVER_NAME(value) {
3515
+ __writePresence(this.view, this.offset, 3, value);
3516
+ }
3517
+ sERVER_NAME() {
3518
+ return __decodeString(this.view, this.offset + 342, 255);
3519
+ }
3520
+ setSERVER_NAME(value) {
3521
+ __encodeString(this.view, this.offset + 342, 255, value);
3522
+ this.setHasSERVER_NAME(true);
3523
+ }
3524
+ };
3525
+ __publicField(_SocketParams, "SIZE", 600);
3526
+ __publicField(_SocketParams, "ALIGN", 4);
3527
+ let SocketParams = _SocketParams;
3528
+ const _SocketResult = class _SocketResult {
3529
+ constructor(buffer, offset = 0) {
3530
+ __publicField(this, "buffer", buffer);
3531
+ __publicField(this, "offset", offset);
3532
+ __publicField(this, "view");
3533
+ this.view = new DataView(buffer);
3534
+ }
3535
+ static fromPointer(buffer, offset = 0) {
3536
+ return new _SocketResult(buffer, offset);
3537
+ }
3538
+ hasHOST() {
3539
+ return __readPresence(this.view, this.offset, 0);
3540
+ }
3541
+ setHasHOST(value) {
3542
+ __writePresence(this.view, this.offset, 0, value);
3543
+ }
3544
+ hOST() {
3545
+ return __decodeString(this.view, this.offset + 1, 255);
3546
+ }
3547
+ setHOST(value) {
3548
+ __encodeString(this.view, this.offset + 1, 255, value);
3549
+ this.setHasHOST(true);
3550
+ }
3551
+ pORT() {
3552
+ return this.view.getUint16(this.offset + 258, true);
3553
+ }
3554
+ setPORT(value) {
3555
+ this.view.setUint16(this.offset + 258, value, true);
3556
+ }
3557
+ hasLOCAL_ADDRESS() {
3558
+ return __readPresence(this.view, this.offset, 1);
3559
+ }
3560
+ setHasLOCAL_ADDRESS(value) {
3561
+ __writePresence(this.view, this.offset, 1, value);
3562
+ }
3563
+ lOCAL_ADDRESS() {
3564
+ return __decodeString(this.view, this.offset + 260, 64);
3565
+ }
3566
+ setLOCAL_ADDRESS(value) {
3567
+ __encodeString(this.view, this.offset + 260, 64, value);
3568
+ this.setHasLOCAL_ADDRESS(true);
3569
+ }
3570
+ lOCAL_PORT() {
3571
+ return this.view.getUint16(this.offset + 326, true);
3572
+ }
3573
+ setLOCAL_PORT(value) {
3574
+ this.view.setUint16(this.offset + 326, value, true);
3575
+ }
3576
+ hasREMOTE_ADDRESS() {
3577
+ return __readPresence(this.view, this.offset, 2);
3578
+ }
3579
+ setHasREMOTE_ADDRESS(value) {
3580
+ __writePresence(this.view, this.offset, 2, value);
3581
+ }
3582
+ rEMOTE_ADDRESS() {
3583
+ return __decodeString(this.view, this.offset + 328, 64);
3584
+ }
3585
+ setREMOTE_ADDRESS(value) {
3586
+ __encodeString(this.view, this.offset + 328, 64, value);
3587
+ this.setHasREMOTE_ADDRESS(true);
3588
+ }
3589
+ rEMOTE_PORT() {
3590
+ return this.view.getUint16(this.offset + 394, true);
3591
+ }
3592
+ setREMOTE_PORT(value) {
3593
+ this.view.setUint16(this.offset + 394, value, true);
3594
+ }
3595
+ aUTHORIZED() {
3596
+ return this.view.getUint8(this.offset + 396) !== 0;
3597
+ }
3598
+ setAUTHORIZED(value) {
3599
+ this.view.setUint8(this.offset + 396, value ? 1 : 0);
3600
+ }
3601
+ hasAUTHORIZATION_ERROR() {
3602
+ return __readPresence(this.view, this.offset, 3);
3603
+ }
3604
+ setHasAUTHORIZATION_ERROR(value) {
3605
+ __writePresence(this.view, this.offset, 3, value);
3606
+ }
3607
+ aUTHORIZATION_ERROR() {
3608
+ return __decodeString(this.view, this.offset + 397, 255);
3609
+ }
3610
+ setAUTHORIZATION_ERROR(value) {
3611
+ __encodeString(this.view, this.offset + 397, 255, value);
3612
+ this.setHasAUTHORIZATION_ERROR(true);
3613
+ }
3614
+ };
3615
+ __publicField(_SocketResult, "SIZE", 654);
3616
+ __publicField(_SocketResult, "ALIGN", 2);
3617
+ let SocketResult = _SocketResult;
3618
+ const _FsParams = class _FsParams {
3619
+ constructor(buffer, offset = 0) {
3620
+ __publicField(this, "buffer", buffer);
3621
+ __publicField(this, "offset", offset);
3622
+ __publicField(this, "view");
3623
+ this.view = new DataView(buffer);
3624
+ }
3625
+ static fromPointer(buffer, offset = 0) {
3626
+ return new _FsParams(buffer, offset);
3627
+ }
3628
+ nOT_RECURSIVE() {
3629
+ return this.view.getUint8(this.offset + 0) !== 0;
3630
+ }
3631
+ setNOT_RECURSIVE(value) {
3632
+ this.view.setUint8(this.offset + 0, value ? 1 : 0);
3633
+ }
3634
+ };
3635
+ __publicField(_FsParams, "SIZE", 1);
3636
+ __publicField(_FsParams, "ALIGN", 1);
3637
+ let FsParams = _FsParams;
3638
+ const _FsEntry = class _FsEntry {
3639
+ constructor(buffer, offset = 0) {
3640
+ __publicField(this, "buffer", buffer);
3641
+ __publicField(this, "offset", offset);
3642
+ __publicField(this, "view");
3643
+ this.view = new DataView(buffer);
3644
+ }
3645
+ static fromPointer(buffer, offset = 0) {
3646
+ return new _FsEntry(buffer, offset);
3647
+ }
3648
+ hasNAME() {
3649
+ return __readPresence(this.view, this.offset, 0);
3650
+ }
3651
+ setHasNAME(value) {
3652
+ __writePresence(this.view, this.offset, 0, value);
3653
+ }
3654
+ nAME() {
3655
+ return __decodeString(this.view, this.offset + 1, 255);
3656
+ }
3657
+ setNAME(value) {
3658
+ __encodeString(this.view, this.offset + 1, 255, value);
3659
+ this.setHasNAME(true);
3660
+ }
3661
+ iS_FILE() {
3662
+ return this.view.getUint8(this.offset + 257) !== 0;
3663
+ }
3664
+ setIS_FILE(value) {
3665
+ this.view.setUint8(this.offset + 257, value ? 1 : 0);
3666
+ }
3667
+ iS_DIRECTORY() {
3668
+ return this.view.getUint8(this.offset + 258) !== 0;
3669
+ }
3670
+ setIS_DIRECTORY(value) {
3671
+ this.view.setUint8(this.offset + 258, value ? 1 : 0);
3672
+ }
3673
+ };
3674
+ __publicField(_FsEntry, "SIZE", 259);
3675
+ __publicField(_FsEntry, "ALIGN", 1);
3676
+ let FsEntry = _FsEntry;
3677
+ const _FsStat = class _FsStat {
3678
+ constructor(buffer, offset = 0) {
3679
+ __publicField(this, "buffer", buffer);
3680
+ __publicField(this, "offset", offset);
3681
+ __publicField(this, "view");
3682
+ this.view = new DataView(buffer);
3683
+ }
3684
+ static fromPointer(buffer, offset = 0) {
3685
+ return new _FsStat(buffer, offset);
3686
+ }
3687
+ sIZE() {
3688
+ return this.view.getBigUint64(this.offset + 0, true);
3689
+ }
3690
+ setSIZE(value) {
3691
+ this.view.setBigUint64(this.offset + 0, value, true);
3692
+ }
3693
+ iS_FILE() {
3694
+ return this.view.getUint8(this.offset + 8) !== 0;
3695
+ }
3696
+ setIS_FILE(value) {
3697
+ this.view.setUint8(this.offset + 8, value ? 1 : 0);
3698
+ }
3699
+ iS_DIRECTORY() {
3700
+ return this.view.getUint8(this.offset + 9) !== 0;
3701
+ }
3702
+ setIS_DIRECTORY(value) {
3703
+ this.view.setUint8(this.offset + 9, value ? 1 : 0);
3704
+ }
3705
+ cTIME_MS() {
3706
+ return this.view.getFloat64(this.offset + 16, true);
3707
+ }
3708
+ setCTIME_MS(value) {
3709
+ this.view.setFloat64(this.offset + 16, value, true);
3710
+ }
3711
+ mTIME_MS() {
3712
+ return this.view.getFloat64(this.offset + 24, true);
3713
+ }
3714
+ setMTIME_MS(value) {
3715
+ this.view.setFloat64(this.offset + 24, value, true);
3716
+ }
3717
+ };
3718
+ __publicField(_FsStat, "SIZE", 32);
3719
+ __publicField(_FsStat, "ALIGN", 8);
3720
+ let FsStat = _FsStat;
3721
+ const _ExecParams = class _ExecParams {
3722
+ constructor(buffer, offset = 0) {
3723
+ __publicField(this, "buffer", buffer);
3724
+ __publicField(this, "offset", offset);
3725
+ __publicField(this, "view");
3726
+ this.view = new DataView(buffer);
3727
+ }
3728
+ static fromPointer(buffer, offset = 0) {
3729
+ return new _ExecParams(buffer, offset);
3730
+ }
3731
+ tIMEOUT_MS() {
3732
+ return this.view.getUint32(this.offset + 0, true);
3733
+ }
3734
+ setTIMEOUT_MS(value) {
3735
+ this.view.setUint32(this.offset + 0, value, true);
3736
+ }
3737
+ };
3738
+ __publicField(_ExecParams, "SIZE", 4);
3739
+ __publicField(_ExecParams, "ALIGN", 4);
3740
+ let ExecParams = _ExecParams;
3741
+ const _EnvVar = class _EnvVar {
3742
+ constructor(buffer, offset = 0) {
3743
+ __publicField(this, "buffer", buffer);
3744
+ __publicField(this, "offset", offset);
3745
+ __publicField(this, "view");
3746
+ this.view = new DataView(buffer);
3747
+ }
3748
+ static fromPointer(buffer, offset = 0) {
3749
+ return new _EnvVar(buffer, offset);
3750
+ }
3751
+ hasNAME() {
3752
+ return __readPresence(this.view, this.offset, 0);
3753
+ }
3754
+ setHasNAME(value) {
3755
+ __writePresence(this.view, this.offset, 0, value);
3756
+ }
3757
+ nAME() {
3758
+ return __decodeString(this.view, this.offset + 1, 128);
3759
+ }
3760
+ setNAME(value) {
3761
+ __encodeString(this.view, this.offset + 1, 128, value);
3762
+ this.setHasNAME(true);
3763
+ }
3764
+ hasVALUE() {
3765
+ return __readPresence(this.view, this.offset, 1);
3766
+ }
3767
+ setHasVALUE(value) {
3768
+ __writePresence(this.view, this.offset, 1, value);
3769
+ }
3770
+ vALUE() {
3771
+ return __decodeString(this.view, this.offset + 130, 255);
3772
+ }
3773
+ setVALUE(value) {
3774
+ __encodeString(this.view, this.offset + 130, 255, value);
3775
+ this.setHasVALUE(true);
3776
+ }
3777
+ };
3778
+ __publicField(_EnvVar, "SIZE", 386);
3779
+ __publicField(_EnvVar, "ALIGN", 1);
3780
+ let EnvVar = _EnvVar;
3781
+ const _ExecResult = class _ExecResult {
3782
+ constructor(buffer, offset = 0) {
3783
+ __publicField(this, "buffer", buffer);
3784
+ __publicField(this, "offset", offset);
3785
+ __publicField(this, "view");
3786
+ this.view = new DataView(buffer);
3787
+ }
3788
+ static fromPointer(buffer, offset = 0) {
3789
+ return new _ExecResult(buffer, offset);
3790
+ }
3791
+ eXIT_CODE() {
3792
+ return this.view.getInt32(this.offset + 4, true);
3793
+ }
3794
+ setEXIT_CODE(value) {
3795
+ this.view.setInt32(this.offset + 4, value, true);
3796
+ }
3797
+ hasSIGNAL() {
3798
+ return __readPresence(this.view, this.offset, 0);
3799
+ }
3800
+ setHasSIGNAL(value) {
3801
+ __writePresence(this.view, this.offset, 0, value);
3802
+ }
3803
+ sIGNAL() {
3804
+ return __decodeString(this.view, this.offset + 8, 16);
3805
+ }
3806
+ setSIGNAL(value) {
3807
+ __encodeString(this.view, this.offset + 8, 16, value);
3808
+ this.setHasSIGNAL(true);
3809
+ }
3810
+ };
3811
+ __publicField(_ExecResult, "SIZE", 28);
3812
+ __publicField(_ExecResult, "ALIGN", 4);
3813
+ let ExecResult = _ExecResult;
3814
+ const _ContextParams = class _ContextParams {
3815
+ constructor(buffer, offset = 0) {
3816
+ __publicField(this, "buffer", buffer);
3817
+ __publicField(this, "offset", offset);
3818
+ __publicField(this, "view");
3819
+ this.view = new DataView(buffer);
3820
+ }
3821
+ static fromPointer(buffer, offset = 0) {
3822
+ return new _ContextParams(buffer, offset);
3823
+ }
3824
+ hasSCOPE() {
3825
+ return __readPresence(this.view, this.offset, 0);
3826
+ }
3827
+ setHasSCOPE(value) {
3828
+ __writePresence(this.view, this.offset, 0, value);
3829
+ }
3830
+ sCOPE() {
3831
+ return __decodeString(this.view, this.offset + 1, 128);
3832
+ }
3833
+ setSCOPE(value) {
3834
+ __encodeString(this.view, this.offset + 1, 128, value);
3835
+ this.setHasSCOPE(true);
3836
+ }
3837
+ hasKEY() {
3838
+ return __readPresence(this.view, this.offset, 1);
3839
+ }
3840
+ setHasKEY(value) {
3841
+ __writePresence(this.view, this.offset, 1, value);
3842
+ }
3843
+ kEY() {
3844
+ return __decodeString(this.view, this.offset + 130, 255);
3845
+ }
3846
+ setKEY(value) {
3847
+ __encodeString(this.view, this.offset + 130, 255, value);
3848
+ this.setHasKEY(true);
3849
+ }
3850
+ };
3851
+ __publicField(_ContextParams, "SIZE", 386);
3852
+ __publicField(_ContextParams, "ALIGN", 1);
3853
+ let ContextParams = _ContextParams;
3854
+ export {
3855
+ BodyRef,
3856
+ BoolValue,
3857
+ CacheKeyParams,
3858
+ ConfigEntry,
3859
+ ContextParams,
3860
+ CountValue,
3861
+ CronField,
3862
+ CryptoParams,
3863
+ EnvVar,
3864
+ EpochStreamParams,
3865
+ ExecParams,
3866
+ ExecResult,
3867
+ FsEntry,
3868
+ FsParams,
3869
+ FsStat,
3870
+ HasCapabilityParams,
3871
+ HttpParams,
3872
+ HttpResult,
3873
+ IpfsLink,
3874
+ IpfsParams,
3875
+ IpfsPin,
3876
+ IpfsResult,
3877
+ IpfsSwarmPeer,
3878
+ KeyslotParams,
3879
+ MqttParams,
3880
+ MqttResult,
3881
+ NodeActivityEvent,
3882
+ NodeActivityParams,
3883
+ NodeBandwidthSample,
3884
+ NodeStatusReport,
3885
+ NumberValue,
3886
+ P2pLatestDataset,
3887
+ P2pParams,
3888
+ P2pPeer,
3889
+ P2pPeerValue,
3890
+ P2pPnmEntry,
3891
+ P2pSummary,
3892
+ ProtocolParams,
3893
+ Provenance,
3894
+ PubsubParams,
3895
+ PubsubSubscribed,
3896
+ QuerySurfaceLimits,
3897
+ RandomBytesParams,
3898
+ SandboxQueryParams,
3899
+ SandboxQueryResult,
3900
+ ScheduleParams,
3901
+ SecretParams,
3902
+ SecretResult,
3903
+ SocketParams,
3904
+ SocketResult,
3905
+ SqlStreamParams,
3906
+ SqlValue,
3907
+ StorageDeleteParams,
3908
+ StorageExpireParams,
3909
+ StorageExpireResult,
3910
+ StorageIngestParams,
3911
+ StorageIngestResult,
3912
+ StorageQueryParams,
3913
+ StorageWriteParams,
3914
+ StorageWriteResult,
3915
+ StoredRecordMeta,
3916
+ StreamResult,
3917
+ SurfaceColumn,
3918
+ SurfaceTable,
3919
+ TextValue,
3920
+ TimeValue,
3921
+ TimersDelayParams,
3922
+ WebsocketParams,
3923
+ WebsocketResult
3924
+ };