@doordeck/doordeck-headless-sdk 0.85.0 → 0.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +76 -207
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +6 -6
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +2 -2
- package/kotlin/doordeck-sdk.js +807 -738
- package/kotlin/kotlin-kotlin-stdlib.js +1066 -1150
- package/kotlin/kotlinx-atomicfu.js +5 -6
- package/kotlin/kotlinx-coroutines-core.js +177 -376
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +9 -10
- package/kotlin/kotlinx-io-kotlinx-io-core.js +41 -135
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +77 -136
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +76 -159
- package/kotlin/ktor-ktor-client-ktor-client-core.js +62 -98
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +21 -27
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +14 -14
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +27 -57
- package/kotlin/ktor-ktor-http.js +71 -134
- package/kotlin/ktor-ktor-io.js +55 -78
- package/kotlin/ktor-ktor-shared-ktor-events.js +4 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +9 -19
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +10 -10
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +12 -18
- package/kotlin/ktor-ktor-utils.js +40 -70
- package/package.json +3 -3
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.d2;
|
|
6
|
-
var Long = kotlin_kotlin.$_$.
|
|
6
|
+
var Long = kotlin_kotlin.$_$.hf;
|
|
7
7
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
8
8
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
|
|
9
9
|
var charArrayOf = kotlin_kotlin.$_$.da;
|
|
10
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
10
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
12
12
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
13
|
-
var toShort = kotlin_kotlin.$_$.
|
|
14
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
15
|
-
var toLong = kotlin_kotlin.$_$.
|
|
13
|
+
var toShort = kotlin_kotlin.$_$.wb;
|
|
14
|
+
var ensureNotNull = kotlin_kotlin.$_$.fg;
|
|
15
|
+
var toLong = kotlin_kotlin.$_$.vb;
|
|
16
16
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
17
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
17
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
18
18
|
var VOID = kotlin_kotlin.$_$.h;
|
|
19
19
|
var UnsafeByteStringOperations_instance = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
|
|
20
20
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
21
|
-
var AutoCloseable = kotlin_kotlin.$_$.
|
|
22
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
21
|
+
var AutoCloseable = kotlin_kotlin.$_$.ve;
|
|
22
|
+
var objectCreate = kotlin_kotlin.$_$.sb;
|
|
23
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
|
|
24
24
|
var arrayCopy = kotlin_kotlin.$_$.a6;
|
|
25
|
-
var toByte = kotlin_kotlin.$_$.
|
|
25
|
+
var toByte = kotlin_kotlin.$_$.ub;
|
|
26
26
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.u1;
|
|
27
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
28
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
27
|
+
var initMetadataForObject = kotlin_kotlin.$_$.xa;
|
|
28
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.va;
|
|
29
29
|
var charSequenceGet = kotlin_kotlin.$_$.fa;
|
|
30
30
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
|
|
31
31
|
var charArray = kotlin_kotlin.$_$.ea;
|
|
32
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
33
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
32
|
+
var numberToChar = kotlin_kotlin.$_$.ob;
|
|
33
|
+
var concatToString = kotlin_kotlin.$_$.nc;
|
|
34
34
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.n1;
|
|
35
35
|
var captureStack = kotlin_kotlin.$_$.ca;
|
|
36
36
|
var Exception_init_$Init$_0 = kotlin_kotlin.$_$.o1;
|
|
37
37
|
var Exception_init_$Init$_1 = kotlin_kotlin.$_$.q1;
|
|
38
|
-
var Exception = kotlin_kotlin.$_$.
|
|
38
|
+
var Exception = kotlin_kotlin.$_$.ef;
|
|
39
39
|
//endregion
|
|
40
40
|
//region block: pre-declaration
|
|
41
41
|
initMetadataForInterface(Source, 'Source', VOID, VOID, [AutoCloseable]);
|
|
@@ -115,7 +115,6 @@
|
|
|
115
115
|
protoOf(Buffer).h1e = function (byteCount) {
|
|
116
116
|
// Inline function 'kotlin.require' call
|
|
117
117
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
118
|
-
// Inline function 'kotlinx.io.Buffer.require.<anonymous>' call
|
|
119
118
|
var message = 'byteCount: ' + byteCount.toString();
|
|
120
119
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
121
120
|
}
|
|
@@ -126,7 +125,6 @@
|
|
|
126
125
|
protoOf(Buffer).i1e = function (byteCount) {
|
|
127
126
|
// Inline function 'kotlin.require' call
|
|
128
127
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
129
|
-
// Inline function 'kotlinx.io.Buffer.request.<anonymous>' call
|
|
130
128
|
var message = 'byteCount: ' + byteCount.toString() + ' < 0';
|
|
131
129
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
132
130
|
}
|
|
@@ -281,7 +279,6 @@
|
|
|
281
279
|
// Inline function 'kotlinx.io.checkByteCount' call
|
|
282
280
|
// Inline function 'kotlin.require' call
|
|
283
281
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
284
|
-
// Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
|
|
285
282
|
var message = 'byteCount (' + byteCount.toString() + ') < 0';
|
|
286
283
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
287
284
|
}
|
|
@@ -336,7 +333,6 @@
|
|
|
336
333
|
// Inline function 'kotlinx.io.checkByteCount' call
|
|
337
334
|
// Inline function 'kotlin.require' call
|
|
338
335
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
339
|
-
// Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
|
|
340
336
|
var message = 'byteCount (' + byteCount.toString() + ') < 0';
|
|
341
337
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
342
338
|
}
|
|
@@ -350,7 +346,6 @@
|
|
|
350
346
|
// Inline function 'kotlinx.io.checkByteCount' call
|
|
351
347
|
// Inline function 'kotlin.require' call
|
|
352
348
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
353
|
-
// Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
|
|
354
349
|
var message = 'byteCount (' + byteCount.toString() + ') < 0';
|
|
355
350
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
356
351
|
}
|
|
@@ -373,7 +368,6 @@
|
|
|
373
368
|
protoOf(Buffer).l1f = function (minimumCapacity) {
|
|
374
369
|
// Inline function 'kotlin.require' call
|
|
375
370
|
if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
|
|
376
|
-
// Inline function 'kotlinx.io.Buffer.writableSegment.<anonymous>' call
|
|
377
371
|
var message = 'unexpected capacity (' + minimumCapacity + '), should be in range [1, 8192]';
|
|
378
372
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
379
373
|
}
|
|
@@ -415,7 +409,6 @@
|
|
|
415
409
|
// Inline function 'kotlinx.io.checkByteCount' call
|
|
416
410
|
// Inline function 'kotlin.require' call
|
|
417
411
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
418
|
-
// Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
|
|
419
412
|
var message = 'byteCount (' + byteCount.toString() + ') < 0';
|
|
420
413
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
421
414
|
}
|
|
@@ -431,7 +424,6 @@
|
|
|
431
424
|
protoOf(Buffer).h1f = function (source, byteCount) {
|
|
432
425
|
// Inline function 'kotlin.require' call
|
|
433
426
|
if (!!(source === this)) {
|
|
434
|
-
// Inline function 'kotlinx.io.Buffer.write.<anonymous>' call
|
|
435
427
|
var message = 'source == this';
|
|
436
428
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
437
429
|
}
|
|
@@ -520,7 +512,6 @@
|
|
|
520
512
|
var curr = this.c1e_1;
|
|
521
513
|
while (!(curr == null)) {
|
|
522
514
|
var tmp4 = get_SegmentReadContextImpl();
|
|
523
|
-
// Inline function 'kotlinx.io.Buffer.toString.<anonymous>' call
|
|
524
515
|
var segment = curr;
|
|
525
516
|
var idx = 0;
|
|
526
517
|
while (bytesWritten < len && idx < segment.s()) {
|
|
@@ -588,28 +579,25 @@
|
|
|
588
579
|
protoOf(PeekSource).g1f = function (sink, byteCount) {
|
|
589
580
|
// Inline function 'kotlin.check' call
|
|
590
581
|
if (!!this.k1g_1) {
|
|
591
|
-
// Inline function 'kotlinx.io.PeekSource.readAtMostTo.<anonymous>' call
|
|
592
582
|
var message = 'Source is closed.';
|
|
593
583
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
594
584
|
}
|
|
595
585
|
// Inline function 'kotlinx.io.checkByteCount' call
|
|
596
586
|
// Inline function 'kotlin.require' call
|
|
597
587
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
598
|
-
// Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
|
|
599
588
|
var message_0 = 'byteCount (' + byteCount.toString() + ') < 0';
|
|
600
589
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
601
590
|
}
|
|
602
591
|
// Inline function 'kotlin.check' call
|
|
603
592
|
if (!(this.i1g_1 == null || (this.i1g_1 === this.h1g_1.c1e_1 && this.j1g_1 === ensureNotNull(this.h1g_1.c1e_1).l1e_1))) {
|
|
604
|
-
// Inline function 'kotlinx.io.PeekSource.readAtMostTo.<anonymous>' call
|
|
605
593
|
var message_1 = 'Peek source is invalid because upstream source was used';
|
|
606
594
|
throw IllegalStateException_init_$Create$(toString(message_1));
|
|
607
595
|
}
|
|
608
596
|
if (byteCount.equals(new Long(0, 0)))
|
|
609
597
|
return new Long(0, 0);
|
|
610
598
|
// Inline function 'kotlin.Long.plus' call
|
|
611
|
-
var tmp$ret$
|
|
612
|
-
if (!this.g1g_1.i1e(tmp$ret$
|
|
599
|
+
var tmp$ret$7 = this.l1g_1.z2(toLong(1));
|
|
600
|
+
if (!this.g1g_1.i1e(tmp$ret$7))
|
|
613
601
|
return new Long(-1, -1);
|
|
614
602
|
if (this.i1g_1 == null && !(this.h1g_1.c1e_1 == null)) {
|
|
615
603
|
this.i1g_1 = this.h1g_1.c1e_1;
|
|
@@ -637,13 +625,11 @@
|
|
|
637
625
|
// Inline function 'kotlinx.io.RealSource.checkNotClosed' call
|
|
638
626
|
// Inline function 'kotlin.check' call
|
|
639
627
|
if (!!this.n1g_1) {
|
|
640
|
-
// Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
|
|
641
628
|
var message = 'Source is closed.';
|
|
642
629
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
643
630
|
}
|
|
644
631
|
// Inline function 'kotlin.require' call
|
|
645
632
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
646
|
-
// Inline function 'kotlinx.io.RealSource.readAtMostTo.<anonymous>' call
|
|
647
633
|
var message_0 = 'byteCount: ' + byteCount.toString();
|
|
648
634
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
649
635
|
}
|
|
@@ -661,7 +647,6 @@
|
|
|
661
647
|
// Inline function 'kotlinx.io.RealSource.checkNotClosed' call
|
|
662
648
|
// Inline function 'kotlin.check' call
|
|
663
649
|
if (!!this.n1g_1) {
|
|
664
|
-
// Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
|
|
665
650
|
var message = 'Source is closed.';
|
|
666
651
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
667
652
|
}
|
|
@@ -675,13 +660,11 @@
|
|
|
675
660
|
// Inline function 'kotlinx.io.RealSource.checkNotClosed' call
|
|
676
661
|
// Inline function 'kotlin.check' call
|
|
677
662
|
if (!!this.n1g_1) {
|
|
678
|
-
// Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
|
|
679
663
|
var message = 'Source is closed.';
|
|
680
664
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
681
665
|
}
|
|
682
666
|
// Inline function 'kotlin.require' call
|
|
683
667
|
if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
|
|
684
|
-
// Inline function 'kotlinx.io.RealSource.request.<anonymous>' call
|
|
685
668
|
var message_0 = 'byteCount: ' + byteCount.toString();
|
|
686
669
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
687
670
|
}
|
|
@@ -749,7 +732,6 @@
|
|
|
749
732
|
// Inline function 'kotlinx.io.RealSource.checkNotClosed' call
|
|
750
733
|
// Inline function 'kotlin.check' call
|
|
751
734
|
if (!!this.n1g_1) {
|
|
752
|
-
// Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
|
|
753
735
|
var message = 'Source is closed.';
|
|
754
736
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
755
737
|
}
|
|
@@ -809,7 +791,6 @@
|
|
|
809
791
|
if (tmp0_elvis_lhs == null) {
|
|
810
792
|
// Inline function 'kotlin.also' call
|
|
811
793
|
var this_0 = SegmentPool_instance.t1g();
|
|
812
|
-
// Inline function 'kotlinx.io.Segment.sharedCopy.<anonymous>' call
|
|
813
794
|
this.n1e_1 = this_0;
|
|
814
795
|
tmp = this_0;
|
|
815
796
|
} else {
|
|
@@ -819,7 +800,6 @@
|
|
|
819
800
|
var tmp_0 = this.l1e_1;
|
|
820
801
|
var tmp_1 = this.m1e_1;
|
|
821
802
|
// Inline function 'kotlin.also' call
|
|
822
|
-
// Inline function 'kotlinx.io.Segment.sharedCopy.<anonymous>' call
|
|
823
803
|
t.u1g();
|
|
824
804
|
return Segment_init_$Create$_0(this.k1e_1, tmp_0, tmp_1, t, false);
|
|
825
805
|
};
|
|
@@ -847,7 +827,6 @@
|
|
|
847
827
|
protoOf(Segment).v1f = function (byteCount) {
|
|
848
828
|
// Inline function 'kotlin.require' call
|
|
849
829
|
if (!(byteCount > 0 && byteCount <= (this.m1e_1 - this.l1e_1 | 0))) {
|
|
850
|
-
// Inline function 'kotlinx.io.Segment.split.<anonymous>' call
|
|
851
830
|
var message = 'byteCount out of range';
|
|
852
831
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
853
832
|
}
|
|
@@ -881,7 +860,6 @@
|
|
|
881
860
|
protoOf(Segment).z1e = function () {
|
|
882
861
|
// Inline function 'kotlin.check' call
|
|
883
862
|
if (!!(this.q1e_1 == null)) {
|
|
884
|
-
// Inline function 'kotlinx.io.Segment.compact.<anonymous>' call
|
|
885
863
|
var message = 'cannot compact';
|
|
886
864
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
887
865
|
}
|
|
@@ -940,7 +918,6 @@
|
|
|
940
918
|
protoOf(Segment).w1f = function (sink, byteCount) {
|
|
941
919
|
// Inline function 'kotlin.check' call
|
|
942
920
|
if (!sink.o1e_1) {
|
|
943
|
-
// Inline function 'kotlinx.io.Segment.writeTo.<anonymous>' call
|
|
944
921
|
var message = 'only owner can write';
|
|
945
922
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
946
923
|
}
|
|
@@ -1086,7 +1063,6 @@
|
|
|
1086
1063
|
}
|
|
1087
1064
|
// Inline function 'kotlin.check' call
|
|
1088
1065
|
if (!(_this__u8e3s4.f1e().s().e1(new Long(2147483647, 0)) < 0)) {
|
|
1089
|
-
// Inline function 'kotlinx.io.readByteArrayImpl.<anonymous>' call
|
|
1090
1066
|
var message = "Can't create an array of size " + _this__u8e3s4.f1e().s().toString();
|
|
1091
1067
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1092
1068
|
}
|
|
@@ -1118,7 +1094,6 @@
|
|
|
1118
1094
|
var byteCount_0 = toLong(byteCount);
|
|
1119
1095
|
// Inline function 'kotlin.require' call
|
|
1120
1096
|
if (!(byteCount_0.e1(new Long(0, 0)) >= 0)) {
|
|
1121
|
-
// Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
|
|
1122
1097
|
var message = 'byteCount (' + byteCount_0.toString() + ') < 0';
|
|
1123
1098
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1124
1099
|
}
|
|
@@ -1142,13 +1117,11 @@
|
|
|
1142
1117
|
var curr = _this__u8e3s4.c1e_1;
|
|
1143
1118
|
while (!(curr == null)) {
|
|
1144
1119
|
get_SegmentReadContextImpl();
|
|
1145
|
-
// Inline function 'kotlinx.io.commonReadUtf8.<anonymous>' call
|
|
1146
1120
|
if (toLong(curr.s()).e1(byteCount) >= 0) {
|
|
1147
1121
|
var result = '';
|
|
1148
1122
|
// Inline function 'kotlinx.io.unsafe.withData' call
|
|
1149
1123
|
var tmp2 = curr.v1g(true);
|
|
1150
1124
|
var tmp3 = curr.l1e_1;
|
|
1151
|
-
// Inline function 'kotlinx.io.commonReadUtf8.<anonymous>.<anonymous>' call
|
|
1152
1125
|
var tmp0 = curr.m1e_1;
|
|
1153
1126
|
// Inline function 'kotlin.math.min' call
|
|
1154
1127
|
var b = tmp3 + byteCount.j1() | 0;
|
|
@@ -1170,12 +1143,10 @@
|
|
|
1170
1143
|
var size = string.length;
|
|
1171
1144
|
checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
|
|
1172
1145
|
// Inline function 'kotlinx.io.writeToInternalBuffer' call
|
|
1173
|
-
// Inline function 'kotlinx.io.writeString.<anonymous>' call
|
|
1174
1146
|
// Inline function 'kotlinx.io.commonWriteUtf8' call
|
|
1175
1147
|
var this_0 = _this__u8e3s4.f1e();
|
|
1176
1148
|
var i = startIndex;
|
|
1177
1149
|
while (i < endIndex) {
|
|
1178
|
-
// Inline function 'kotlinx.io.writeString.<anonymous>.stub_for_inlining' call
|
|
1179
1150
|
var p0 = i;
|
|
1180
1151
|
// Inline function 'kotlin.code' call
|
|
1181
1152
|
var this_1 = charSequenceGet(string, p0);
|
|
@@ -1184,7 +1155,6 @@
|
|
|
1184
1155
|
$l$block_0: {
|
|
1185
1156
|
// Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
|
|
1186
1157
|
var tail = this_0.l1f(1);
|
|
1187
|
-
// Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
|
|
1188
1158
|
var ctx = get_SegmentWriteContextImpl();
|
|
1189
1159
|
var segmentOffset = -i | 0;
|
|
1190
1160
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
@@ -1194,7 +1164,6 @@
|
|
|
1194
1164
|
i = _unary__edvuaz + 1 | 0;
|
|
1195
1165
|
ctx.d1h(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
|
|
1196
1166
|
$l$loop: while (i < runLimit) {
|
|
1197
|
-
// Inline function 'kotlinx.io.writeString.<anonymous>.stub_for_inlining' call
|
|
1198
1167
|
var p0_0 = i;
|
|
1199
1168
|
// Inline function 'kotlin.code' call
|
|
1200
1169
|
var this_2 = charSequenceGet(string, p0_0);
|
|
@@ -1215,7 +1184,6 @@
|
|
|
1215
1184
|
}
|
|
1216
1185
|
// Inline function 'kotlin.check' call
|
|
1217
1186
|
if (!(0 <= bytesWritten ? bytesWritten <= tail.q1f() : false)) {
|
|
1218
|
-
// Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
|
|
1219
1187
|
var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.q1f();
|
|
1220
1188
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1221
1189
|
}
|
|
@@ -1234,7 +1202,6 @@
|
|
|
1234
1202
|
$l$block_2: {
|
|
1235
1203
|
// Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
|
|
1236
1204
|
var tail_0 = this_0.l1f(2);
|
|
1237
|
-
// Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
|
|
1238
1205
|
get_SegmentWriteContextImpl().c1h(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
|
|
1239
1206
|
var bytesWritten_0 = 2;
|
|
1240
1207
|
if (bytesWritten_0 === 2) {
|
|
@@ -1246,7 +1213,6 @@
|
|
|
1246
1213
|
}
|
|
1247
1214
|
// Inline function 'kotlin.check' call
|
|
1248
1215
|
if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.q1f() : false)) {
|
|
1249
|
-
// Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
|
|
1250
1216
|
var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.q1f();
|
|
1251
1217
|
throw IllegalStateException_init_$Create$(toString(message_0));
|
|
1252
1218
|
}
|
|
@@ -1266,7 +1232,6 @@
|
|
|
1266
1232
|
$l$block_4: {
|
|
1267
1233
|
// Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
|
|
1268
1234
|
var tail_1 = this_0.l1f(3);
|
|
1269
|
-
// Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
|
|
1270
1235
|
get_SegmentWriteContextImpl().b1h(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
|
|
1271
1236
|
var bytesWritten_1 = 3;
|
|
1272
1237
|
if (bytesWritten_1 === 3) {
|
|
@@ -1278,7 +1243,6 @@
|
|
|
1278
1243
|
}
|
|
1279
1244
|
// Inline function 'kotlin.check' call
|
|
1280
1245
|
if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.q1f() : false)) {
|
|
1281
|
-
// Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
|
|
1282
1246
|
var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.q1f();
|
|
1283
1247
|
throw IllegalStateException_init_$Create$(toString(message_1));
|
|
1284
1248
|
}
|
|
@@ -1297,7 +1261,6 @@
|
|
|
1297
1261
|
} else {
|
|
1298
1262
|
var tmp_5;
|
|
1299
1263
|
if ((i + 1 | 0) < endIndex) {
|
|
1300
|
-
// Inline function 'kotlinx.io.writeString.<anonymous>.stub_for_inlining' call
|
|
1301
1264
|
var p0_1 = i + 1 | 0;
|
|
1302
1265
|
// Inline function 'kotlin.code' call
|
|
1303
1266
|
var this_3 = charSequenceGet(string, p0_1);
|
|
@@ -1309,15 +1272,14 @@
|
|
|
1309
1272
|
if (c > 56319 || !(56320 <= low ? low <= 57343 : false)) {
|
|
1310
1273
|
// Inline function 'kotlin.code' call
|
|
1311
1274
|
var this_4 = _Char___init__impl__6a9atx(63);
|
|
1312
|
-
var tmp$ret$
|
|
1313
|
-
this_0.z1f(toByte(tmp$ret$
|
|
1275
|
+
var tmp$ret$26 = Char__toInt_impl_vasixd(this_4);
|
|
1276
|
+
this_0.z1f(toByte(tmp$ret$26));
|
|
1314
1277
|
i = i + 1 | 0;
|
|
1315
1278
|
} else {
|
|
1316
1279
|
var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
|
|
1317
1280
|
$l$block_6: {
|
|
1318
1281
|
// Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
|
|
1319
1282
|
var tail_2 = this_0.l1f(4);
|
|
1320
|
-
// Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
|
|
1321
1283
|
get_SegmentWriteContextImpl().a1h(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
|
|
1322
1284
|
var bytesWritten_2 = 4;
|
|
1323
1285
|
if (bytesWritten_2 === 4) {
|
|
@@ -1329,7 +1291,6 @@
|
|
|
1329
1291
|
}
|
|
1330
1292
|
// Inline function 'kotlin.check' call
|
|
1331
1293
|
if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.q1f() : false)) {
|
|
1332
|
-
// Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
|
|
1333
1294
|
var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.q1f();
|
|
1334
1295
|
throw IllegalStateException_init_$Create$(toString(message_2));
|
|
1335
1296
|
}
|
|
@@ -1363,7 +1324,6 @@
|
|
|
1363
1324
|
while (index < endIndex) {
|
|
1364
1325
|
var b0 = _this__u8e3s4[index];
|
|
1365
1326
|
if (b0 >= 0) {
|
|
1366
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1367
1327
|
var c = numberToChar(b0);
|
|
1368
1328
|
var _unary__edvuaz = length;
|
|
1369
1329
|
length = _unary__edvuaz + 1 | 0;
|
|
@@ -1372,7 +1332,6 @@
|
|
|
1372
1332
|
while (index < endIndex && _this__u8e3s4[index] >= 0) {
|
|
1373
1333
|
var _unary__edvuaz_0 = index;
|
|
1374
1334
|
index = _unary__edvuaz_0 + 1 | 0;
|
|
1375
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1376
1335
|
var c_0 = numberToChar(_this__u8e3s4[_unary__edvuaz_0]);
|
|
1377
1336
|
var _unary__edvuaz_1 = length;
|
|
1378
1337
|
length = _unary__edvuaz_1 + 1 | 0;
|
|
@@ -1383,17 +1342,15 @@
|
|
|
1383
1342
|
if (b0 >> 5 === -2) {
|
|
1384
1343
|
var tmp = index;
|
|
1385
1344
|
var tmp3 = index;
|
|
1386
|
-
var tmp$ret$
|
|
1345
|
+
var tmp$ret$5;
|
|
1387
1346
|
$l$block_0: {
|
|
1388
1347
|
// Inline function 'kotlinx.io.internal.process2Utf8Bytes' call
|
|
1389
1348
|
if (endIndex <= (tmp3 + 1 | 0)) {
|
|
1390
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1391
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1392
1349
|
var c_1 = numberToChar(65533);
|
|
1393
1350
|
var _unary__edvuaz_2 = length;
|
|
1394
1351
|
length = _unary__edvuaz_2 + 1 | 0;
|
|
1395
1352
|
chars[_unary__edvuaz_2] = c_1;
|
|
1396
|
-
tmp$ret$
|
|
1353
|
+
tmp$ret$5 = 1;
|
|
1397
1354
|
break $l$block_0;
|
|
1398
1355
|
}
|
|
1399
1356
|
var b0_0 = _this__u8e3s4[tmp3];
|
|
@@ -1401,45 +1358,37 @@
|
|
|
1401
1358
|
// Inline function 'kotlinx.io.internal.isUtf8Continuation' call
|
|
1402
1359
|
// Inline function 'kotlinx.io.and' call
|
|
1403
1360
|
if (!((b1 & 192) === 128)) {
|
|
1404
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1405
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1406
1361
|
var c_2 = numberToChar(65533);
|
|
1407
1362
|
var _unary__edvuaz_3 = length;
|
|
1408
1363
|
length = _unary__edvuaz_3 + 1 | 0;
|
|
1409
1364
|
chars[_unary__edvuaz_3] = c_2;
|
|
1410
|
-
tmp$ret$
|
|
1365
|
+
tmp$ret$5 = 1;
|
|
1411
1366
|
break $l$block_0;
|
|
1412
1367
|
}
|
|
1413
1368
|
var codePoint = 3968 ^ b1 ^ b0_0 << 6;
|
|
1414
1369
|
if (codePoint < 128) {
|
|
1415
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1416
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1417
1370
|
var c_3 = numberToChar(65533);
|
|
1418
1371
|
var _unary__edvuaz_4 = length;
|
|
1419
1372
|
length = _unary__edvuaz_4 + 1 | 0;
|
|
1420
1373
|
chars[_unary__edvuaz_4] = c_3;
|
|
1421
1374
|
} else {
|
|
1422
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1423
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1424
1375
|
var c_4 = numberToChar(codePoint);
|
|
1425
1376
|
var _unary__edvuaz_5 = length;
|
|
1426
1377
|
length = _unary__edvuaz_5 + 1 | 0;
|
|
1427
1378
|
chars[_unary__edvuaz_5] = c_4;
|
|
1428
1379
|
}
|
|
1429
|
-
tmp$ret$
|
|
1380
|
+
tmp$ret$5 = 2;
|
|
1430
1381
|
}
|
|
1431
|
-
index = tmp + tmp$ret$
|
|
1382
|
+
index = tmp + tmp$ret$5 | 0;
|
|
1432
1383
|
} else {
|
|
1433
1384
|
// Inline function 'kotlinx.io.shr' call
|
|
1434
1385
|
if (b0 >> 4 === -2) {
|
|
1435
1386
|
var tmp_0 = index;
|
|
1436
1387
|
var tmp12 = index;
|
|
1437
|
-
var tmp$ret$
|
|
1388
|
+
var tmp$ret$19;
|
|
1438
1389
|
$l$block_4: {
|
|
1439
1390
|
// Inline function 'kotlinx.io.internal.process3Utf8Bytes' call
|
|
1440
1391
|
if (endIndex <= (tmp12 + 2 | 0)) {
|
|
1441
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1442
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1443
1392
|
var c_5 = numberToChar(65533);
|
|
1444
1393
|
var _unary__edvuaz_6 = length;
|
|
1445
1394
|
length = _unary__edvuaz_6 + 1 | 0;
|
|
@@ -1453,10 +1402,10 @@
|
|
|
1453
1402
|
tmp_1 = !((_this__u8e3s4[tmp12 + 1 | 0] & 192) === 128);
|
|
1454
1403
|
}
|
|
1455
1404
|
if (tmp_1) {
|
|
1456
|
-
tmp$ret$
|
|
1405
|
+
tmp$ret$19 = 1;
|
|
1457
1406
|
break $l$block_4;
|
|
1458
1407
|
} else {
|
|
1459
|
-
tmp$ret$
|
|
1408
|
+
tmp$ret$19 = 2;
|
|
1460
1409
|
break $l$block_4;
|
|
1461
1410
|
}
|
|
1462
1411
|
}
|
|
@@ -1465,77 +1414,63 @@
|
|
|
1465
1414
|
// Inline function 'kotlinx.io.internal.isUtf8Continuation' call
|
|
1466
1415
|
// Inline function 'kotlinx.io.and' call
|
|
1467
1416
|
if (!((b1_0 & 192) === 128)) {
|
|
1468
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1469
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1470
1417
|
var c_6 = numberToChar(65533);
|
|
1471
1418
|
var _unary__edvuaz_7 = length;
|
|
1472
1419
|
length = _unary__edvuaz_7 + 1 | 0;
|
|
1473
1420
|
chars[_unary__edvuaz_7] = c_6;
|
|
1474
|
-
tmp$ret$
|
|
1421
|
+
tmp$ret$19 = 1;
|
|
1475
1422
|
break $l$block_4;
|
|
1476
1423
|
}
|
|
1477
1424
|
var b2 = _this__u8e3s4[tmp12 + 2 | 0];
|
|
1478
1425
|
// Inline function 'kotlinx.io.internal.isUtf8Continuation' call
|
|
1479
1426
|
// Inline function 'kotlinx.io.and' call
|
|
1480
1427
|
if (!((b2 & 192) === 128)) {
|
|
1481
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1482
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1483
1428
|
var c_7 = numberToChar(65533);
|
|
1484
1429
|
var _unary__edvuaz_8 = length;
|
|
1485
1430
|
length = _unary__edvuaz_8 + 1 | 0;
|
|
1486
1431
|
chars[_unary__edvuaz_8] = c_7;
|
|
1487
|
-
tmp$ret$
|
|
1432
|
+
tmp$ret$19 = 2;
|
|
1488
1433
|
break $l$block_4;
|
|
1489
1434
|
}
|
|
1490
1435
|
var codePoint_0 = -123008 ^ b2 ^ b1_0 << 6 ^ b0_1 << 12;
|
|
1491
1436
|
if (codePoint_0 < 2048) {
|
|
1492
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1493
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1494
1437
|
var c_8 = numberToChar(65533);
|
|
1495
1438
|
var _unary__edvuaz_9 = length;
|
|
1496
1439
|
length = _unary__edvuaz_9 + 1 | 0;
|
|
1497
1440
|
chars[_unary__edvuaz_9] = c_8;
|
|
1498
1441
|
} else if (55296 <= codePoint_0 ? codePoint_0 <= 57343 : false) {
|
|
1499
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1500
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1501
1442
|
var c_9 = numberToChar(65533);
|
|
1502
1443
|
var _unary__edvuaz_10 = length;
|
|
1503
1444
|
length = _unary__edvuaz_10 + 1 | 0;
|
|
1504
1445
|
chars[_unary__edvuaz_10] = c_9;
|
|
1505
1446
|
} else {
|
|
1506
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1507
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1508
1447
|
var c_10 = numberToChar(codePoint_0);
|
|
1509
1448
|
var _unary__edvuaz_11 = length;
|
|
1510
1449
|
length = _unary__edvuaz_11 + 1 | 0;
|
|
1511
1450
|
chars[_unary__edvuaz_11] = c_10;
|
|
1512
1451
|
}
|
|
1513
|
-
tmp$ret$
|
|
1452
|
+
tmp$ret$19 = 3;
|
|
1514
1453
|
}
|
|
1515
|
-
index = tmp_0 + tmp$ret$
|
|
1454
|
+
index = tmp_0 + tmp$ret$19 | 0;
|
|
1516
1455
|
} else {
|
|
1517
1456
|
// Inline function 'kotlinx.io.shr' call
|
|
1518
1457
|
if (b0 >> 3 === -2) {
|
|
1519
1458
|
var tmp_2 = index;
|
|
1520
1459
|
var tmp23 = index;
|
|
1521
|
-
var tmp$ret$
|
|
1460
|
+
var tmp$ret$41;
|
|
1522
1461
|
$l$block_10: {
|
|
1523
1462
|
// Inline function 'kotlinx.io.internal.process4Utf8Bytes' call
|
|
1524
1463
|
if (endIndex <= (tmp23 + 3 | 0)) {
|
|
1525
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1526
1464
|
if (!(65533 === 65533)) {
|
|
1527
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1528
1465
|
var c_11 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
|
|
1529
1466
|
var _unary__edvuaz_12 = length;
|
|
1530
1467
|
length = _unary__edvuaz_12 + 1 | 0;
|
|
1531
1468
|
chars[_unary__edvuaz_12] = c_11;
|
|
1532
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1533
1469
|
var c_12 = numberToChar((65533 & 1023) + 56320 | 0);
|
|
1534
1470
|
var _unary__edvuaz_13 = length;
|
|
1535
1471
|
length = _unary__edvuaz_13 + 1 | 0;
|
|
1536
1472
|
chars[_unary__edvuaz_13] = c_12;
|
|
1537
1473
|
} else {
|
|
1538
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1539
1474
|
var c_13 = _Char___init__impl__6a9atx(65533);
|
|
1540
1475
|
var _unary__edvuaz_14 = length;
|
|
1541
1476
|
length = _unary__edvuaz_14 + 1 | 0;
|
|
@@ -1550,7 +1485,7 @@
|
|
|
1550
1485
|
tmp_3 = !((_this__u8e3s4[tmp23 + 1 | 0] & 192) === 128);
|
|
1551
1486
|
}
|
|
1552
1487
|
if (tmp_3) {
|
|
1553
|
-
tmp$ret$
|
|
1488
|
+
tmp$ret$41 = 1;
|
|
1554
1489
|
break $l$block_10;
|
|
1555
1490
|
} else {
|
|
1556
1491
|
var tmp_4;
|
|
@@ -1562,10 +1497,10 @@
|
|
|
1562
1497
|
tmp_4 = !((_this__u8e3s4[tmp23 + 2 | 0] & 192) === 128);
|
|
1563
1498
|
}
|
|
1564
1499
|
if (tmp_4) {
|
|
1565
|
-
tmp$ret$
|
|
1500
|
+
tmp$ret$41 = 2;
|
|
1566
1501
|
break $l$block_10;
|
|
1567
1502
|
} else {
|
|
1568
|
-
tmp$ret$
|
|
1503
|
+
tmp$ret$41 = 3;
|
|
1569
1504
|
break $l$block_10;
|
|
1570
1505
|
}
|
|
1571
1506
|
}
|
|
@@ -1575,167 +1510,138 @@
|
|
|
1575
1510
|
// Inline function 'kotlinx.io.internal.isUtf8Continuation' call
|
|
1576
1511
|
// Inline function 'kotlinx.io.and' call
|
|
1577
1512
|
if (!((b1_1 & 192) === 128)) {
|
|
1578
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1579
1513
|
if (!(65533 === 65533)) {
|
|
1580
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1581
1514
|
var c_14 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
|
|
1582
1515
|
var _unary__edvuaz_15 = length;
|
|
1583
1516
|
length = _unary__edvuaz_15 + 1 | 0;
|
|
1584
1517
|
chars[_unary__edvuaz_15] = c_14;
|
|
1585
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1586
1518
|
var c_15 = numberToChar((65533 & 1023) + 56320 | 0);
|
|
1587
1519
|
var _unary__edvuaz_16 = length;
|
|
1588
1520
|
length = _unary__edvuaz_16 + 1 | 0;
|
|
1589
1521
|
chars[_unary__edvuaz_16] = c_15;
|
|
1590
1522
|
} else {
|
|
1591
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1592
1523
|
var c_16 = _Char___init__impl__6a9atx(65533);
|
|
1593
1524
|
var _unary__edvuaz_17 = length;
|
|
1594
1525
|
length = _unary__edvuaz_17 + 1 | 0;
|
|
1595
1526
|
chars[_unary__edvuaz_17] = c_16;
|
|
1596
1527
|
}
|
|
1597
|
-
tmp$ret$
|
|
1528
|
+
tmp$ret$41 = 1;
|
|
1598
1529
|
break $l$block_10;
|
|
1599
1530
|
}
|
|
1600
1531
|
var b2_0 = _this__u8e3s4[tmp23 + 2 | 0];
|
|
1601
1532
|
// Inline function 'kotlinx.io.internal.isUtf8Continuation' call
|
|
1602
1533
|
// Inline function 'kotlinx.io.and' call
|
|
1603
1534
|
if (!((b2_0 & 192) === 128)) {
|
|
1604
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1605
1535
|
if (!(65533 === 65533)) {
|
|
1606
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1607
1536
|
var c_17 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
|
|
1608
1537
|
var _unary__edvuaz_18 = length;
|
|
1609
1538
|
length = _unary__edvuaz_18 + 1 | 0;
|
|
1610
1539
|
chars[_unary__edvuaz_18] = c_17;
|
|
1611
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1612
1540
|
var c_18 = numberToChar((65533 & 1023) + 56320 | 0);
|
|
1613
1541
|
var _unary__edvuaz_19 = length;
|
|
1614
1542
|
length = _unary__edvuaz_19 + 1 | 0;
|
|
1615
1543
|
chars[_unary__edvuaz_19] = c_18;
|
|
1616
1544
|
} else {
|
|
1617
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1618
1545
|
var c_19 = _Char___init__impl__6a9atx(65533);
|
|
1619
1546
|
var _unary__edvuaz_20 = length;
|
|
1620
1547
|
length = _unary__edvuaz_20 + 1 | 0;
|
|
1621
1548
|
chars[_unary__edvuaz_20] = c_19;
|
|
1622
1549
|
}
|
|
1623
|
-
tmp$ret$
|
|
1550
|
+
tmp$ret$41 = 2;
|
|
1624
1551
|
break $l$block_10;
|
|
1625
1552
|
}
|
|
1626
1553
|
var b3 = _this__u8e3s4[tmp23 + 3 | 0];
|
|
1627
1554
|
// Inline function 'kotlinx.io.internal.isUtf8Continuation' call
|
|
1628
1555
|
// Inline function 'kotlinx.io.and' call
|
|
1629
1556
|
if (!((b3 & 192) === 128)) {
|
|
1630
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1631
1557
|
if (!(65533 === 65533)) {
|
|
1632
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1633
1558
|
var c_20 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
|
|
1634
1559
|
var _unary__edvuaz_21 = length;
|
|
1635
1560
|
length = _unary__edvuaz_21 + 1 | 0;
|
|
1636
1561
|
chars[_unary__edvuaz_21] = c_20;
|
|
1637
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1638
1562
|
var c_21 = numberToChar((65533 & 1023) + 56320 | 0);
|
|
1639
1563
|
var _unary__edvuaz_22 = length;
|
|
1640
1564
|
length = _unary__edvuaz_22 + 1 | 0;
|
|
1641
1565
|
chars[_unary__edvuaz_22] = c_21;
|
|
1642
1566
|
} else {
|
|
1643
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1644
1567
|
var c_22 = _Char___init__impl__6a9atx(65533);
|
|
1645
1568
|
var _unary__edvuaz_23 = length;
|
|
1646
1569
|
length = _unary__edvuaz_23 + 1 | 0;
|
|
1647
1570
|
chars[_unary__edvuaz_23] = c_22;
|
|
1648
1571
|
}
|
|
1649
|
-
tmp$ret$
|
|
1572
|
+
tmp$ret$41 = 3;
|
|
1650
1573
|
break $l$block_10;
|
|
1651
1574
|
}
|
|
1652
1575
|
var codePoint_1 = 3678080 ^ b3 ^ b2_0 << 6 ^ b1_1 << 12 ^ b0_2 << 18;
|
|
1653
1576
|
if (codePoint_1 > 1114111) {
|
|
1654
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1655
1577
|
if (!(65533 === 65533)) {
|
|
1656
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1657
1578
|
var c_23 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
|
|
1658
1579
|
var _unary__edvuaz_24 = length;
|
|
1659
1580
|
length = _unary__edvuaz_24 + 1 | 0;
|
|
1660
1581
|
chars[_unary__edvuaz_24] = c_23;
|
|
1661
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1662
1582
|
var c_24 = numberToChar((65533 & 1023) + 56320 | 0);
|
|
1663
1583
|
var _unary__edvuaz_25 = length;
|
|
1664
1584
|
length = _unary__edvuaz_25 + 1 | 0;
|
|
1665
1585
|
chars[_unary__edvuaz_25] = c_24;
|
|
1666
1586
|
} else {
|
|
1667
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1668
1587
|
var c_25 = _Char___init__impl__6a9atx(65533);
|
|
1669
1588
|
var _unary__edvuaz_26 = length;
|
|
1670
1589
|
length = _unary__edvuaz_26 + 1 | 0;
|
|
1671
1590
|
chars[_unary__edvuaz_26] = c_25;
|
|
1672
1591
|
}
|
|
1673
1592
|
} else if (55296 <= codePoint_1 ? codePoint_1 <= 57343 : false) {
|
|
1674
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1675
1593
|
if (!(65533 === 65533)) {
|
|
1676
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1677
1594
|
var c_26 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
|
|
1678
1595
|
var _unary__edvuaz_27 = length;
|
|
1679
1596
|
length = _unary__edvuaz_27 + 1 | 0;
|
|
1680
1597
|
chars[_unary__edvuaz_27] = c_26;
|
|
1681
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1682
1598
|
var c_27 = numberToChar((65533 & 1023) + 56320 | 0);
|
|
1683
1599
|
var _unary__edvuaz_28 = length;
|
|
1684
1600
|
length = _unary__edvuaz_28 + 1 | 0;
|
|
1685
1601
|
chars[_unary__edvuaz_28] = c_27;
|
|
1686
1602
|
} else {
|
|
1687
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1688
1603
|
var c_28 = _Char___init__impl__6a9atx(65533);
|
|
1689
1604
|
var _unary__edvuaz_29 = length;
|
|
1690
1605
|
length = _unary__edvuaz_29 + 1 | 0;
|
|
1691
1606
|
chars[_unary__edvuaz_29] = c_28;
|
|
1692
1607
|
}
|
|
1693
1608
|
} else if (codePoint_1 < 65536) {
|
|
1694
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1695
1609
|
if (!(65533 === 65533)) {
|
|
1696
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1697
1610
|
var c_29 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
|
|
1698
1611
|
var _unary__edvuaz_30 = length;
|
|
1699
1612
|
length = _unary__edvuaz_30 + 1 | 0;
|
|
1700
1613
|
chars[_unary__edvuaz_30] = c_29;
|
|
1701
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1702
1614
|
var c_30 = numberToChar((65533 & 1023) + 56320 | 0);
|
|
1703
1615
|
var _unary__edvuaz_31 = length;
|
|
1704
1616
|
length = _unary__edvuaz_31 + 1 | 0;
|
|
1705
1617
|
chars[_unary__edvuaz_31] = c_30;
|
|
1706
1618
|
} else {
|
|
1707
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1708
1619
|
var c_31 = _Char___init__impl__6a9atx(65533);
|
|
1709
1620
|
var _unary__edvuaz_32 = length;
|
|
1710
1621
|
length = _unary__edvuaz_32 + 1 | 0;
|
|
1711
1622
|
chars[_unary__edvuaz_32] = c_31;
|
|
1712
1623
|
}
|
|
1713
1624
|
} else {
|
|
1714
|
-
// Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
|
|
1715
1625
|
if (!(codePoint_1 === 65533)) {
|
|
1716
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1717
1626
|
var c_32 = numberToChar((codePoint_1 >>> 10 | 0) + 55232 | 0);
|
|
1718
1627
|
var _unary__edvuaz_33 = length;
|
|
1719
1628
|
length = _unary__edvuaz_33 + 1 | 0;
|
|
1720
1629
|
chars[_unary__edvuaz_33] = c_32;
|
|
1721
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1722
1630
|
var c_33 = numberToChar((codePoint_1 & 1023) + 56320 | 0);
|
|
1723
1631
|
var _unary__edvuaz_34 = length;
|
|
1724
1632
|
length = _unary__edvuaz_34 + 1 | 0;
|
|
1725
1633
|
chars[_unary__edvuaz_34] = c_33;
|
|
1726
1634
|
} else {
|
|
1727
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1728
1635
|
var c_34 = _Char___init__impl__6a9atx(65533);
|
|
1729
1636
|
var _unary__edvuaz_35 = length;
|
|
1730
1637
|
length = _unary__edvuaz_35 + 1 | 0;
|
|
1731
1638
|
chars[_unary__edvuaz_35] = c_34;
|
|
1732
1639
|
}
|
|
1733
1640
|
}
|
|
1734
|
-
tmp$ret$
|
|
1641
|
+
tmp$ret$41 = 4;
|
|
1735
1642
|
}
|
|
1736
|
-
index = tmp_2 + tmp$ret$
|
|
1643
|
+
index = tmp_2 + tmp$ret$41 | 0;
|
|
1737
1644
|
} else {
|
|
1738
|
-
// Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
|
|
1739
1645
|
var c_35 = _Char___init__impl__6a9atx(65533);
|
|
1740
1646
|
var _unary__edvuaz_36 = length;
|
|
1741
1647
|
length = _unary__edvuaz_36 + 1 | 0;
|