space-data-module-sdk 0.9.0 → 0.9.2

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.
@@ -243,76 +243,6 @@ export class RandomBytesParams {
243
243
 
244
244
  }
245
245
 
246
- export class ConfigEntry {
247
- static readonly SIZE = 536;
248
- static readonly ALIGN = 8;
249
- static fromPointer(buffer: BufferLike, offset = 0): ConfigEntry { return new ConfigEntry(buffer, offset); }
250
-
251
- readonly view: DataView;
252
- constructor(public readonly buffer: BufferLike, public readonly offset = 0) {
253
- this.view = new DataView(buffer);
254
- }
255
-
256
- hasKEY(): boolean {
257
- return __readPresence(this.view, this.offset, 0);
258
- }
259
-
260
- setHasKEY(value: boolean) {
261
- __writePresence(this.view, this.offset, 0, value);
262
- }
263
-
264
- kEY(): string {
265
- return __decodeString(this.view, this.offset + 1, 255);
266
- }
267
-
268
- setKEY(value: string) {
269
- __encodeString(this.view, this.offset + 1, 255, value);
270
- this.setHasKEY(true);
271
- }
272
-
273
- kIND(): number {
274
- return this.view.getUint8(this.offset + 257);
275
- }
276
-
277
- setKIND(value: number) {
278
- this.view.setUint8(this.offset + 257, value);
279
- }
280
-
281
- hasSTRING_VALUE(): boolean {
282
- return __readPresence(this.view, this.offset, 1);
283
- }
284
-
285
- setHasSTRING_VALUE(value: boolean) {
286
- __writePresence(this.view, this.offset, 1, value);
287
- }
288
-
289
- sTRING_VALUE(): string {
290
- return __decodeString(this.view, this.offset + 258, 255);
291
- }
292
-
293
- setSTRING_VALUE(value: string) {
294
- __encodeString(this.view, this.offset + 258, 255, value);
295
- this.setHasSTRING_VALUE(true);
296
- }
297
-
298
- nUMBER_VALUE(): number {
299
- return this.view.getFloat64(this.offset + 520, true);
300
- }
301
-
302
- setNUMBER_VALUE(value: number) {
303
- this.view.setFloat64(this.offset + 520, value, true);
304
- }
305
-
306
- bOOL_VALUE(): boolean {
307
- return (this.view.getUint8(this.offset + 528) !== 0);
308
- }
309
-
310
- setBOOL_VALUE(value: boolean) {
311
- this.view.setUint8(this.offset + 528, (value ? 1 : 0));
312
- }
313
-
314
- }
315
-
316
246
  export class HttpParams {
317
247
  static readonly SIZE = 40;
318
248
  static readonly ALIGN = 8;
@@ -474,7 +404,7 @@ export class StorageQueryParams {
474
404
  }
475
405
 
476
406
  export class StoredRecordMeta {
477
- static readonly SIZE = 888;
407
+ static readonly SIZE = 952;
478
408
  static readonly ALIGN = 8;
479
409
  static fromPointer(buffer: BufferLike, offset = 0): StoredRecordMeta { return new StoredRecordMeta(buffer, offset); }
480
410
 
@@ -626,11 +556,11 @@ export class StoredRecordMeta {
626
556
  }
627
557
 
628
558
  lICENSE(): string {
629
- return __decodeString(this.view, this.offset + 816, 64);
559
+ return __decodeString(this.view, this.offset + 816, 128);
630
560
  }
631
561
 
632
562
  setLICENSE(value: string) {
633
- __encodeString(this.view, this.offset + 816, 64, value);
563
+ __encodeString(this.view, this.offset + 816, 128, value);
634
564
  this.setHasLICENSE(true);
635
565
  }
636
566
 
@@ -864,7 +794,7 @@ export class StorageExpireResult {
864
794
  }
865
795
 
866
796
  export class StorageIngestParams {
867
- static readonly SIZE = 1868;
797
+ static readonly SIZE = 1996;
868
798
  static readonly ALIGN = 1;
869
799
  static fromPointer(buffer: BufferLike, offset = 0): StorageIngestParams { return new StorageIngestParams(buffer, offset); }
870
800
 
@@ -967,11 +897,11 @@ export class StorageIngestParams {
967
897
  }
968
898
 
969
899
  cONTENT_KEY_ID(): string {
970
- return __decodeString(this.view, this.offset + 710, 64);
900
+ return __decodeString(this.view, this.offset + 710, 128);
971
901
  }
972
902
 
973
903
  setCONTENT_KEY_ID(value: string) {
974
- __encodeString(this.view, this.offset + 710, 64, value);
904
+ __encodeString(this.view, this.offset + 710, 128, value);
975
905
  this.setHasCONTENT_KEY_ID(true);
976
906
  }
977
907
 
@@ -984,11 +914,11 @@ export class StorageIngestParams {
984
914
  }
985
915
 
986
916
  sOURCE_PEER(): string {
987
- return __decodeString(this.view, this.offset + 775, 128);
917
+ return __decodeString(this.view, this.offset + 839, 128);
988
918
  }
989
919
 
990
920
  setSOURCE_PEER(value: string) {
991
- __encodeString(this.view, this.offset + 775, 128, value);
921
+ __encodeString(this.view, this.offset + 839, 128, value);
992
922
  this.setHasSOURCE_PEER(true);
993
923
  }
994
924
 
@@ -1001,11 +931,11 @@ export class StorageIngestParams {
1001
931
  }
1002
932
 
1003
933
  lICENSE(): string {
1004
- return __decodeString(this.view, this.offset + 904, 64);
934
+ return __decodeString(this.view, this.offset + 968, 128);
1005
935
  }
1006
936
 
1007
937
  setLICENSE(value: string) {
1008
- __encodeString(this.view, this.offset + 904, 64, value);
938
+ __encodeString(this.view, this.offset + 968, 128, value);
1009
939
  this.setHasLICENSE(true);
1010
940
  }
1011
941
 
@@ -1018,11 +948,11 @@ export class StorageIngestParams {
1018
948
  }
1019
949
 
1020
950
  lICENSE_URL(): string {
1021
- return __decodeString(this.view, this.offset + 969, 255);
951
+ return __decodeString(this.view, this.offset + 1097, 255);
1022
952
  }
1023
953
 
1024
954
  setLICENSE_URL(value: string) {
1025
- __encodeString(this.view, this.offset + 969, 255, value);
955
+ __encodeString(this.view, this.offset + 1097, 255, value);
1026
956
  this.setHasLICENSE_URL(true);
1027
957
  }
1028
958
 
@@ -1035,28 +965,28 @@ export class StorageIngestParams {
1035
965
  }
1036
966
 
1037
967
  cITATION(): string {
1038
- return __decodeString(this.view, this.offset + 1225, 255);
968
+ return __decodeString(this.view, this.offset + 1353, 255);
1039
969
  }
1040
970
 
1041
971
  setCITATION(value: string) {
1042
- __encodeString(this.view, this.offset + 1225, 255, value);
972
+ __encodeString(this.view, this.offset + 1353, 255, value);
1043
973
  this.setHasCITATION(true);
1044
974
  }
1045
975
 
1046
976
  sHARE_ALIKE(): boolean {
1047
- return (this.view.getUint8(this.offset + 1481) !== 0);
977
+ return (this.view.getUint8(this.offset + 1609) !== 0);
1048
978
  }
1049
979
 
1050
980
  setSHARE_ALIKE(value: boolean) {
1051
- this.view.setUint8(this.offset + 1481, (value ? 1 : 0));
981
+ this.view.setUint8(this.offset + 1609, (value ? 1 : 0));
1052
982
  }
1053
983
 
1054
984
  rECONCILE(): number {
1055
- return this.view.getUint8(this.offset + 1482);
985
+ return this.view.getUint8(this.offset + 1610);
1056
986
  }
1057
987
 
1058
988
  setRECONCILE(value: number) {
1059
- this.view.setUint8(this.offset + 1482, value);
989
+ this.view.setUint8(this.offset + 1610, value);
1060
990
  }
1061
991
 
1062
992
  hasARCHIVE_SOURCE(): boolean {
@@ -1068,11 +998,11 @@ export class StorageIngestParams {
1068
998
  }
1069
999
 
1070
1000
  aRCHIVE_SOURCE(): string {
1071
- return __decodeString(this.view, this.offset + 1483, 128);
1001
+ return __decodeString(this.view, this.offset + 1611, 128);
1072
1002
  }
1073
1003
 
1074
1004
  setARCHIVE_SOURCE(value: string) {
1075
- __encodeString(this.view, this.offset + 1483, 128, value);
1005
+ __encodeString(this.view, this.offset + 1611, 128, value);
1076
1006
  this.setHasARCHIVE_SOURCE(true);
1077
1007
  }
1078
1008
 
@@ -1085,18 +1015,18 @@ export class StorageIngestParams {
1085
1015
  }
1086
1016
 
1087
1017
  aRCHIVE_NAME(): string {
1088
- return __decodeString(this.view, this.offset + 1612, 255);
1018
+ return __decodeString(this.view, this.offset + 1740, 255);
1089
1019
  }
1090
1020
 
1091
1021
  setARCHIVE_NAME(value: string) {
1092
- __encodeString(this.view, this.offset + 1612, 255, value);
1022
+ __encodeString(this.view, this.offset + 1740, 255, value);
1093
1023
  this.setHasARCHIVE_NAME(true);
1094
1024
  }
1095
1025
 
1096
1026
  }
1097
1027
 
1098
1028
  export class Provenance {
1099
- static readonly SIZE = 848;
1029
+ static readonly SIZE = 1072;
1100
1030
  static readonly ALIGN = 8;
1101
1031
  static fromPointer(buffer: BufferLike, offset = 0): Provenance { return new Provenance(buffer, offset); }
1102
1032
 
@@ -1139,11 +1069,11 @@ export class Provenance {
1139
1069
  }
1140
1070
 
1141
1071
  eTAG(): string {
1142
- return __decodeString(this.view, this.offset + 264, 128);
1072
+ return __decodeString(this.view, this.offset + 264, 255);
1143
1073
  }
1144
1074
 
1145
1075
  setETAG(value: string) {
1146
- __encodeString(this.view, this.offset + 264, 128, value);
1076
+ __encodeString(this.view, this.offset + 264, 255, value);
1147
1077
  this.setHasETAG(true);
1148
1078
  }
1149
1079
 
@@ -1156,11 +1086,11 @@ export class Provenance {
1156
1086
  }
1157
1087
 
1158
1088
  lAST_MODIFIED(): string {
1159
- return __decodeString(this.view, this.offset + 393, 64);
1089
+ return __decodeString(this.view, this.offset + 520, 64);
1160
1090
  }
1161
1091
 
1162
1092
  setLAST_MODIFIED(value: string) {
1163
- __encodeString(this.view, this.offset + 393, 64, value);
1093
+ __encodeString(this.view, this.offset + 520, 64, value);
1164
1094
  this.setHasLAST_MODIFIED(true);
1165
1095
  }
1166
1096
 
@@ -1173,20 +1103,20 @@ export class Provenance {
1173
1103
  }
1174
1104
 
1175
1105
  cONTENT_TYPE(): string {
1176
- return __decodeString(this.view, this.offset + 458, 128);
1106
+ return __decodeString(this.view, this.offset + 585, 128);
1177
1107
  }
1178
1108
 
1179
1109
  setCONTENT_TYPE(value: string) {
1180
- __encodeString(this.view, this.offset + 458, 128, value);
1110
+ __encodeString(this.view, this.offset + 585, 128, value);
1181
1111
  this.setHasCONTENT_TYPE(true);
1182
1112
  }
1183
1113
 
1184
1114
  rETRIEVED_MS(): bigint {
1185
- return this.view.getBigUint64(this.offset + 592, true);
1115
+ return this.view.getBigUint64(this.offset + 720, true);
1186
1116
  }
1187
1117
 
1188
1118
  setRETRIEVED_MS(value: bigint) {
1189
- this.view.setBigUint64(this.offset + 592, value, true);
1119
+ this.view.setBigUint64(this.offset + 720, value, true);
1190
1120
  }
1191
1121
 
1192
1122
  hasPARSER(): boolean {
@@ -1198,11 +1128,11 @@ export class Provenance {
1198
1128
  }
1199
1129
 
1200
1130
  pARSER(): string {
1201
- return __decodeString(this.view, this.offset + 600, 64);
1131
+ return __decodeString(this.view, this.offset + 728, 128);
1202
1132
  }
1203
1133
 
1204
1134
  setPARSER(value: string) {
1205
- __encodeString(this.view, this.offset + 600, 64, value);
1135
+ __encodeString(this.view, this.offset + 728, 128, value);
1206
1136
  this.setHasPARSER(true);
1207
1137
  }
1208
1138
 
@@ -1215,11 +1145,11 @@ export class Provenance {
1215
1145
  }
1216
1146
 
1217
1147
  pARSER_VERSION(): string {
1218
- return __decodeString(this.view, this.offset + 665, 32);
1148
+ return __decodeString(this.view, this.offset + 857, 64);
1219
1149
  }
1220
1150
 
1221
1151
  setPARSER_VERSION(value: string) {
1222
- __encodeString(this.view, this.offset + 665, 32, value);
1152
+ __encodeString(this.view, this.offset + 857, 64, value);
1223
1153
  this.setHasPARSER_VERSION(true);
1224
1154
  }
1225
1155
 
@@ -1232,11 +1162,11 @@ export class Provenance {
1232
1162
  }
1233
1163
 
1234
1164
  sOURCE_SHA256(): string {
1235
- return __decodeString(this.view, this.offset + 698, 64);
1165
+ return __decodeString(this.view, this.offset + 922, 64);
1236
1166
  }
1237
1167
 
1238
1168
  setSOURCE_SHA256(value: string) {
1239
- __encodeString(this.view, this.offset + 698, 64, value);
1169
+ __encodeString(this.view, this.offset + 922, 64, value);
1240
1170
  this.setHasSOURCE_SHA256(true);
1241
1171
  }
1242
1172
 
@@ -1249,28 +1179,74 @@ export class Provenance {
1249
1179
  }
1250
1180
 
1251
1181
  nORMALIZED_SHA256(): string {
1252
- return __decodeString(this.view, this.offset + 763, 64);
1182
+ return __decodeString(this.view, this.offset + 987, 64);
1253
1183
  }
1254
1184
 
1255
1185
  setNORMALIZED_SHA256(value: string) {
1256
- __encodeString(this.view, this.offset + 763, 64, value);
1186
+ __encodeString(this.view, this.offset + 987, 64, value);
1257
1187
  this.setHasNORMALIZED_SHA256(true);
1258
1188
  }
1259
1189
 
1260
1190
  nORMALIZED_COUNT(): bigint {
1261
- return this.view.getBigUint64(this.offset + 832, true);
1191
+ return this.view.getBigUint64(this.offset + 1056, true);
1262
1192
  }
1263
1193
 
1264
1194
  setNORMALIZED_COUNT(value: bigint) {
1265
- this.view.setBigUint64(this.offset + 832, value, true);
1195
+ this.view.setBigUint64(this.offset + 1056, value, true);
1266
1196
  }
1267
1197
 
1268
1198
  fROM_CACHE(): boolean {
1269
- return (this.view.getUint8(this.offset + 840) !== 0);
1199
+ return (this.view.getUint8(this.offset + 1064) !== 0);
1270
1200
  }
1271
1201
 
1272
1202
  setFROM_CACHE(value: boolean) {
1273
- this.view.setUint8(this.offset + 840, (value ? 1 : 0));
1203
+ this.view.setUint8(this.offset + 1064, (value ? 1 : 0));
1204
+ }
1205
+
1206
+ }
1207
+
1208
+ export class ProvenanceAttribute {
1209
+ static readonly SIZE = 386;
1210
+ static readonly ALIGN = 1;
1211
+ static fromPointer(buffer: BufferLike, offset = 0): ProvenanceAttribute { return new ProvenanceAttribute(buffer, offset); }
1212
+
1213
+ readonly view: DataView;
1214
+ constructor(public readonly buffer: BufferLike, public readonly offset = 0) {
1215
+ this.view = new DataView(buffer);
1216
+ }
1217
+
1218
+ hasNAME(): boolean {
1219
+ return __readPresence(this.view, this.offset, 0);
1220
+ }
1221
+
1222
+ setHasNAME(value: boolean) {
1223
+ __writePresence(this.view, this.offset, 0, value);
1224
+ }
1225
+
1226
+ nAME(): string {
1227
+ return __decodeString(this.view, this.offset + 1, 128);
1228
+ }
1229
+
1230
+ setNAME(value: string) {
1231
+ __encodeString(this.view, this.offset + 1, 128, value);
1232
+ this.setHasNAME(true);
1233
+ }
1234
+
1235
+ hasVALUE(): boolean {
1236
+ return __readPresence(this.view, this.offset, 1);
1237
+ }
1238
+
1239
+ setHasVALUE(value: boolean) {
1240
+ __writePresence(this.view, this.offset, 1, value);
1241
+ }
1242
+
1243
+ vALUE(): string {
1244
+ return __decodeString(this.view, this.offset + 130, 255);
1245
+ }
1246
+
1247
+ setVALUE(value: string) {
1248
+ __encodeString(this.view, this.offset + 130, 255, value);
1249
+ this.setHasVALUE(true);
1274
1250
  }
1275
1251
 
1276
1252
  }
@@ -1379,67 +1355,6 @@ export class StorageIngestResult {
1379
1355
 
1380
1356
  }
1381
1357
 
1382
- export class SqlValue {
1383
- static readonly SIZE = 280;
1384
- static readonly ALIGN = 8;
1385
- static fromPointer(buffer: BufferLike, offset = 0): SqlValue { return new SqlValue(buffer, offset); }
1386
-
1387
- readonly view: DataView;
1388
- constructor(public readonly buffer: BufferLike, public readonly offset = 0) {
1389
- this.view = new DataView(buffer);
1390
- }
1391
-
1392
- kIND(): number {
1393
- return this.view.getUint8(this.offset + 1);
1394
- }
1395
-
1396
- setKIND(value: number) {
1397
- this.view.setUint8(this.offset + 1, value);
1398
- }
1399
-
1400
- bOOL_VALUE(): boolean {
1401
- return (this.view.getUint8(this.offset + 2) !== 0);
1402
- }
1403
-
1404
- setBOOL_VALUE(value: boolean) {
1405
- this.view.setUint8(this.offset + 2, (value ? 1 : 0));
1406
- }
1407
-
1408
- i64_VALUE(): bigint {
1409
- return this.view.getBigInt64(this.offset + 8, true);
1410
- }
1411
-
1412
- setI64_VALUE(value: bigint) {
1413
- this.view.setBigInt64(this.offset + 8, value, true);
1414
- }
1415
-
1416
- f64_VALUE(): number {
1417
- return this.view.getFloat64(this.offset + 16, true);
1418
- }
1419
-
1420
- setF64_VALUE(value: number) {
1421
- this.view.setFloat64(this.offset + 16, value, true);
1422
- }
1423
-
1424
- hasSTR_VALUE(): boolean {
1425
- return __readPresence(this.view, this.offset, 0);
1426
- }
1427
-
1428
- setHasSTR_VALUE(value: boolean) {
1429
- __writePresence(this.view, this.offset, 0, value);
1430
- }
1431
-
1432
- sTR_VALUE(): string {
1433
- return __decodeString(this.view, this.offset + 24, 255);
1434
- }
1435
-
1436
- setSTR_VALUE(value: string) {
1437
- __encodeString(this.view, this.offset + 24, 255, value);
1438
- this.setHasSTR_VALUE(true);
1439
- }
1440
-
1441
- }
1442
-
1443
1358
  export class SqlStreamParams {
1444
1359
  static readonly SIZE = 1;
1445
1360
  static readonly ALIGN = 1;
@@ -2835,7 +2750,7 @@ export class P2pPeerValue {
2835
2750
  }
2836
2751
 
2837
2752
  export class P2pPnmEntry {
2838
- static readonly SIZE = 1400;
2753
+ static readonly SIZE = 1632;
2839
2754
  static readonly ALIGN = 8;
2840
2755
  static fromPointer(buffer: BufferLike, offset = 0): P2pPnmEntry { return new P2pPnmEntry(buffer, offset); }
2841
2756
 
@@ -2938,11 +2853,11 @@ export class P2pPnmEntry {
2938
2853
  }
2939
2854
 
2940
2855
  fILE_ID(): string {
2941
- return __decodeString(this.view, this.offset + 471, 16);
2856
+ return __decodeString(this.view, this.offset + 471, 255);
2942
2857
  }
2943
2858
 
2944
2859
  setFILE_ID(value: string) {
2945
- __encodeString(this.view, this.offset + 471, 16, value);
2860
+ __encodeString(this.view, this.offset + 471, 255, value);
2946
2861
  this.setHasFILE_ID(true);
2947
2862
  }
2948
2863
 
@@ -2955,11 +2870,11 @@ export class P2pPnmEntry {
2955
2870
  }
2956
2871
 
2957
2872
  fILE_NAME(): string {
2958
- return __decodeString(this.view, this.offset + 488, 255);
2873
+ return __decodeString(this.view, this.offset + 727, 255);
2959
2874
  }
2960
2875
 
2961
2876
  setFILE_NAME(value: string) {
2962
- __encodeString(this.view, this.offset + 488, 255, value);
2877
+ __encodeString(this.view, this.offset + 727, 255, value);
2963
2878
  this.setHasFILE_NAME(true);
2964
2879
  }
2965
2880
 
@@ -2972,20 +2887,20 @@ export class P2pPnmEntry {
2972
2887
  }
2973
2888
 
2974
2889
  cID(): string {
2975
- return __decodeString(this.view, this.offset + 744, 128);
2890
+ return __decodeString(this.view, this.offset + 983, 128);
2976
2891
  }
2977
2892
 
2978
2893
  setCID(value: string) {
2979
- __encodeString(this.view, this.offset + 744, 128, value);
2894
+ __encodeString(this.view, this.offset + 983, 128, value);
2980
2895
  this.setHasCID(true);
2981
2896
  }
2982
2897
 
2983
2898
  pUBLISH_MS(): bigint {
2984
- return this.view.getBigUint64(this.offset + 880, true);
2899
+ return this.view.getBigUint64(this.offset + 1112, true);
2985
2900
  }
2986
2901
 
2987
2902
  setPUBLISH_MS(value: bigint) {
2988
- this.view.setBigUint64(this.offset + 880, value, true);
2903
+ this.view.setBigUint64(this.offset + 1112, value, true);
2989
2904
  }
2990
2905
 
2991
2906
  hasSIGNATURE_TYPE(): boolean {
@@ -2997,11 +2912,11 @@ export class P2pPnmEntry {
2997
2912
  }
2998
2913
 
2999
2914
  sIGNATURE_TYPE(): string {
3000
- return __decodeString(this.view, this.offset + 888, 32);
2915
+ return __decodeString(this.view, this.offset + 1120, 32);
3001
2916
  }
3002
2917
 
3003
2918
  setSIGNATURE_TYPE(value: string) {
3004
- __encodeString(this.view, this.offset + 888, 32, value);
2919
+ __encodeString(this.view, this.offset + 1120, 32, value);
3005
2920
  this.setHasSIGNATURE_TYPE(true);
3006
2921
  }
3007
2922
 
@@ -3014,20 +2929,20 @@ export class P2pPnmEntry {
3014
2929
  }
3015
2930
 
3016
2931
  sIGNATURE_HEX(): string {
3017
- return __decodeString(this.view, this.offset + 921, 255);
2932
+ return __decodeString(this.view, this.offset + 1153, 255);
3018
2933
  }
3019
2934
 
3020
2935
  setSIGNATURE_HEX(value: string) {
3021
- __encodeString(this.view, this.offset + 921, 255, value);
2936
+ __encodeString(this.view, this.offset + 1153, 255, value);
3022
2937
  this.setHasSIGNATURE_HEX(true);
3023
2938
  }
3024
2939
 
3025
2940
  sIGNATURE_VERIFIED(): boolean {
3026
- return (this.view.getUint8(this.offset + 1177) !== 0);
2941
+ return (this.view.getUint8(this.offset + 1409) !== 0);
3027
2942
  }
3028
2943
 
3029
2944
  setSIGNATURE_VERIFIED(value: boolean) {
3030
- this.view.setUint8(this.offset + 1177, (value ? 1 : 0));
2945
+ this.view.setUint8(this.offset + 1409, (value ? 1 : 0));
3031
2946
  }
3032
2947
 
3033
2948
  hasATTRIBUTION(): boolean {
@@ -3039,20 +2954,20 @@ export class P2pPnmEntry {
3039
2954
  }
3040
2955
 
3041
2956
  aTTRIBUTION(): string {
3042
- return __decodeString(this.view, this.offset + 1178, 16);
2957
+ return __decodeString(this.view, this.offset + 1410, 16);
3043
2958
  }
3044
2959
 
3045
2960
  setATTRIBUTION(value: string) {
3046
- __encodeString(this.view, this.offset + 1178, 16, value);
2961
+ __encodeString(this.view, this.offset + 1410, 16, value);
3047
2962
  this.setHasATTRIBUTION(true);
3048
2963
  }
3049
2964
 
3050
2965
  pNM_INDEX(): number {
3051
- return this.view.getInt32(this.offset + 1196, true);
2966
+ return this.view.getInt32(this.offset + 1428, true);
3052
2967
  }
3053
2968
 
3054
2969
  setPNM_INDEX(value: number) {
3055
- this.view.setInt32(this.offset + 1196, value, true);
2970
+ this.view.setInt32(this.offset + 1428, value, true);
3056
2971
  }
3057
2972
 
3058
2973
  hasPUBLISHER_KEY_HEX(): boolean {
@@ -3064,11 +2979,11 @@ export class P2pPnmEntry {
3064
2979
  }
3065
2980
 
3066
2981
  pUBLISHER_KEY_HEX(): string {
3067
- return __decodeString(this.view, this.offset + 1200, 128);
2982
+ return __decodeString(this.view, this.offset + 1432, 128);
3068
2983
  }
3069
2984
 
3070
2985
  setPUBLISHER_KEY_HEX(value: string) {
3071
- __encodeString(this.view, this.offset + 1200, 128, value);
2986
+ __encodeString(this.view, this.offset + 1432, 128, value);
3072
2987
  this.setHasPUBLISHER_KEY_HEX(true);
3073
2988
  }
3074
2989
 
@@ -3081,18 +2996,18 @@ export class P2pPnmEntry {
3081
2996
  }
3082
2997
 
3083
2998
  pUBLISHER_KEY_SOURCE(): string {
3084
- return __decodeString(this.view, this.offset + 1329, 64);
2999
+ return __decodeString(this.view, this.offset + 1561, 64);
3085
3000
  }
3086
3001
 
3087
3002
  setPUBLISHER_KEY_SOURCE(value: string) {
3088
- __encodeString(this.view, this.offset + 1329, 64, value);
3003
+ __encodeString(this.view, this.offset + 1561, 64, value);
3089
3004
  this.setHasPUBLISHER_KEY_SOURCE(true);
3090
3005
  }
3091
3006
 
3092
3007
  }
3093
3008
 
3094
3009
  export class P2pLatestDataset {
3095
- static readonly SIZE = 832;
3010
+ static readonly SIZE = 1072;
3096
3011
  static readonly ALIGN = 8;
3097
3012
  static fromPointer(buffer: BufferLike, offset = 0): P2pLatestDataset { return new P2pLatestDataset(buffer, offset); }
3098
3013
 
@@ -3210,28 +3125,28 @@ export class P2pLatestDataset {
3210
3125
  }
3211
3126
 
3212
3127
  pNM_FILE_ID(): string {
3213
- return __decodeString(this.view, this.offset + 282, 16);
3128
+ return __decodeString(this.view, this.offset + 282, 255);
3214
3129
  }
3215
3130
 
3216
3131
  setPNM_FILE_ID(value: string) {
3217
- __encodeString(this.view, this.offset + 282, 16, value);
3132
+ __encodeString(this.view, this.offset + 282, 255, value);
3218
3133
  this.setHasPNM_FILE_ID(true);
3219
3134
  }
3220
3135
 
3221
3136
  pNM_PUBLISH_MS(): bigint {
3222
- return this.view.getBigUint64(this.offset + 304, true);
3137
+ return this.view.getBigUint64(this.offset + 544, true);
3223
3138
  }
3224
3139
 
3225
3140
  setPNM_PUBLISH_MS(value: bigint) {
3226
- this.view.setBigUint64(this.offset + 304, value, true);
3141
+ this.view.setBigUint64(this.offset + 544, value, true);
3227
3142
  }
3228
3143
 
3229
3144
  pNM_SIGNATURE_VERIFIED(): boolean {
3230
- return (this.view.getUint8(this.offset + 312) !== 0);
3145
+ return (this.view.getUint8(this.offset + 552) !== 0);
3231
3146
  }
3232
3147
 
3233
3148
  setPNM_SIGNATURE_VERIFIED(value: boolean) {
3234
- this.view.setUint8(this.offset + 312, (value ? 1 : 0));
3149
+ this.view.setUint8(this.offset + 552, (value ? 1 : 0));
3235
3150
  }
3236
3151
 
3237
3152
  hasPNM_ATTRIBUTION(): boolean {
@@ -3243,11 +3158,11 @@ export class P2pLatestDataset {
3243
3158
  }
3244
3159
 
3245
3160
  pNM_ATTRIBUTION(): string {
3246
- return __decodeString(this.view, this.offset + 313, 16);
3161
+ return __decodeString(this.view, this.offset + 553, 16);
3247
3162
  }
3248
3163
 
3249
3164
  setPNM_ATTRIBUTION(value: string) {
3250
- __encodeString(this.view, this.offset + 313, 16, value);
3165
+ __encodeString(this.view, this.offset + 553, 16, value);
3251
3166
  this.setHasPNM_ATTRIBUTION(true);
3252
3167
  }
3253
3168
 
@@ -3260,11 +3175,11 @@ export class P2pLatestDataset {
3260
3175
  }
3261
3176
 
3262
3177
  bATCH_ID(): string {
3263
- return __decodeString(this.view, this.offset + 330, 128);
3178
+ return __decodeString(this.view, this.offset + 570, 128);
3264
3179
  }
3265
3180
 
3266
3181
  setBATCH_ID(value: string) {
3267
- __encodeString(this.view, this.offset + 330, 128, value);
3182
+ __encodeString(this.view, this.offset + 570, 128, value);
3268
3183
  this.setHasBATCH_ID(true);
3269
3184
  }
3270
3185
 
@@ -3277,11 +3192,11 @@ export class P2pLatestDataset {
3277
3192
  }
3278
3193
 
3279
3194
  pROVIDER_ID(): string {
3280
- return __decodeString(this.view, this.offset + 459, 128);
3195
+ return __decodeString(this.view, this.offset + 699, 128);
3281
3196
  }
3282
3197
 
3283
3198
  setPROVIDER_ID(value: string) {
3284
- __encodeString(this.view, this.offset + 459, 128, value);
3199
+ __encodeString(this.view, this.offset + 699, 128, value);
3285
3200
  this.setHasPROVIDER_ID(true);
3286
3201
  }
3287
3202
 
@@ -3294,44 +3209,44 @@ export class P2pLatestDataset {
3294
3209
  }
3295
3210
 
3296
3211
  sOURCE_NAME(): string {
3297
- return __decodeString(this.view, this.offset + 588, 128);
3212
+ return __decodeString(this.view, this.offset + 828, 128);
3298
3213
  }
3299
3214
 
3300
3215
  setSOURCE_NAME(value: string) {
3301
- __encodeString(this.view, this.offset + 588, 128, value);
3216
+ __encodeString(this.view, this.offset + 828, 128, value);
3302
3217
  this.setHasSOURCE_NAME(true);
3303
3218
  }
3304
3219
 
3305
3220
  rECORD_COUNT(): bigint {
3306
- return this.view.getBigUint64(this.offset + 720, true);
3221
+ return this.view.getBigUint64(this.offset + 960, true);
3307
3222
  }
3308
3223
 
3309
3224
  setRECORD_COUNT(value: bigint) {
3310
- this.view.setBigUint64(this.offset + 720, value, true);
3225
+ this.view.setBigUint64(this.offset + 960, value, true);
3311
3226
  }
3312
3227
 
3313
3228
  bYTE_COUNT(): bigint {
3314
- return this.view.getBigUint64(this.offset + 728, true);
3229
+ return this.view.getBigUint64(this.offset + 968, true);
3315
3230
  }
3316
3231
 
3317
3232
  setBYTE_COUNT(value: bigint) {
3318
- this.view.setBigUint64(this.offset + 728, value, true);
3233
+ this.view.setBigUint64(this.offset + 968, value, true);
3319
3234
  }
3320
3235
 
3321
3236
  pARTS(): number {
3322
- return this.view.getUint32(this.offset + 736, true);
3237
+ return this.view.getUint32(this.offset + 976, true);
3323
3238
  }
3324
3239
 
3325
3240
  setPARTS(value: number) {
3326
- this.view.setUint32(this.offset + 736, value, true);
3241
+ this.view.setUint32(this.offset + 976, value, true);
3327
3242
  }
3328
3243
 
3329
3244
  pUBLISHED_MS(): bigint {
3330
- return this.view.getBigUint64(this.offset + 744, true);
3245
+ return this.view.getBigUint64(this.offset + 984, true);
3331
3246
  }
3332
3247
 
3333
3248
  setPUBLISHED_MS(value: bigint) {
3334
- this.view.setBigUint64(this.offset + 744, value, true);
3249
+ this.view.setBigUint64(this.offset + 984, value, true);
3335
3250
  }
3336
3251
 
3337
3252
  hasETAG_FNV1A64(): boolean {
@@ -3343,11 +3258,11 @@ export class P2pLatestDataset {
3343
3258
  }
3344
3259
 
3345
3260
  eTAG_FNV1A64(): string {
3346
- return __decodeString(this.view, this.offset + 752, 16);
3261
+ return __decodeString(this.view, this.offset + 992, 16);
3347
3262
  }
3348
3263
 
3349
3264
  setETAG_FNV1A64(value: string) {
3350
- __encodeString(this.view, this.offset + 752, 16, value);
3265
+ __encodeString(this.view, this.offset + 992, 16, value);
3351
3266
  this.setHasETAG_FNV1A64(true);
3352
3267
  }
3353
3268
 
@@ -3360,7 +3275,7 @@ export class P2pLatestDataset {
3360
3275
  }
3361
3276
 
3362
3277
  rEF(): BodyRef {
3363
- return new BodyRef(this.buffer, this.offset + 776);
3278
+ return new BodyRef(this.buffer, this.offset + 1016);
3364
3279
  }
3365
3280
 
3366
3281
  }