@solibo/solibo-sdk 1.0.30-SNAPSHOT → 1.0.31-SNAPSHOT
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/KmLogging-logging.js +99 -99
- package/Kotlin-DateTime-library-kotlinx-datetime.js +4 -4
- package/KotlinBigInteger-bignum.js +1127 -1127
- package/MultiplatformSettings-multiplatform-settings.js +17 -17
- package/Stately-stately-concurrency.js +4 -4
- package/cryptography-kotlin-cryptography-bigint.js +28 -28
- package/cryptography-kotlin-cryptography-core.js +47 -47
- package/cryptography-kotlin-cryptography-provider-base.js +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +136 -136
- package/cryptography-kotlin-cryptography-random.js +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.js +258 -258
- package/cryptography-kotlin-cryptography-serialization-pem.js +15 -15
- package/index.d.ts +30 -0
- package/index.js +30 -0
- package/kotlin-kotlin-stdlib.js +396 -396
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +10 -10
- package/kotlinx-io-kotlinx-io-core.js +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core.js +81 -81
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +629 -614
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-auth.js +265 -265
- package/ktor-ktor-client-content-negotiation.js +139 -139
- package/ktor-ktor-client-core.js +3094 -2645
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +653 -653
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http-cio.js +331 -331
- package/ktor-ktor-http.js +1107 -1048
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +452 -344
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +123 -123
- package/ktor-ktor-serialization.js +64 -64
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +680 -680
- package/ktor-ktor-websockets.js +368 -368
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +80176 -11128
- package/solibo-sdk-sdk-home-api.js.map +1 -1
- package/solibo-sdk-sdk.d.ts +938 -54
- package/solibo-sdk-sdk.js +1545 -1545
- package/solibo-sdk-sdk.js.map +1 -1
package/ktor-ktor-io.js
CHANGED
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
95
95
|
var charSequenceLength = kotlin_kotlin.$_$.vb;
|
|
96
96
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
97
|
-
var encodeToByteArray = kotlin_kotlin.$_$.te;
|
|
98
|
-
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
|
|
99
97
|
var readByteArray_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
98
|
+
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
|
|
99
|
+
var encodeToByteArray = kotlin_kotlin.$_$.te;
|
|
100
100
|
var AutoCloseable = kotlin_kotlin.$_$.ph;
|
|
101
101
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.k2;
|
|
102
102
|
var replace_0 = kotlin_kotlin.$_$.qf;
|
|
@@ -162,6 +162,7 @@
|
|
|
162
162
|
initMetadataForCoroutine($toByteArrayCOROUTINE$, CoroutineImpl);
|
|
163
163
|
initMetadataForCoroutine($copyToCOROUTINE$, CoroutineImpl);
|
|
164
164
|
initMetadataForCoroutine($discardCOROUTINE$, CoroutineImpl);
|
|
165
|
+
initMetadataForCoroutine($copyToCOROUTINE$_0, CoroutineImpl);
|
|
165
166
|
initMetadataForCoroutine($skipIfFoundCOROUTINE$, CoroutineImpl);
|
|
166
167
|
initMetadataForCoroutine($readPacketCOROUTINE$, CoroutineImpl);
|
|
167
168
|
initMetadataForCoroutine($readRemainingCOROUTINE$_0, CoroutineImpl);
|
|
@@ -1125,6 +1126,12 @@
|
|
|
1125
1126
|
tmp.l9_1 = null;
|
|
1126
1127
|
return tmp.q9();
|
|
1127
1128
|
}
|
|
1129
|
+
function copyTo_0(_this__u8e3s4, channel, $completion) {
|
|
1130
|
+
var tmp = new $copyToCOROUTINE$_0(_this__u8e3s4, channel, $completion);
|
|
1131
|
+
tmp.k9_1 = Unit_instance;
|
|
1132
|
+
tmp.l9_1 = null;
|
|
1133
|
+
return tmp.q9();
|
|
1134
|
+
}
|
|
1128
1135
|
function skipIfFound(_this__u8e3s4, byteString, $completion) {
|
|
1129
1136
|
var tmp = new $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, $completion);
|
|
1130
1137
|
tmp.k9_1 = Unit_instance;
|
|
@@ -1604,10 +1611,109 @@
|
|
|
1604
1611
|
}
|
|
1605
1612
|
while (true);
|
|
1606
1613
|
};
|
|
1607
|
-
function $
|
|
1614
|
+
function $copyToCOROUTINE$_0(_this__u8e3s4, channel, resultContinuation) {
|
|
1608
1615
|
CoroutineImpl.call(this, resultContinuation);
|
|
1609
1616
|
this.f36_1 = _this__u8e3s4;
|
|
1610
|
-
this.g36_1 =
|
|
1617
|
+
this.g36_1 = channel;
|
|
1618
|
+
}
|
|
1619
|
+
protoOf($copyToCOROUTINE$_0).q9 = function () {
|
|
1620
|
+
var suspendResult = this.k9_1;
|
|
1621
|
+
$sm: do
|
|
1622
|
+
try {
|
|
1623
|
+
var tmp = this.i9_1;
|
|
1624
|
+
switch (tmp) {
|
|
1625
|
+
case 0:
|
|
1626
|
+
this.j9_1 = 11;
|
|
1627
|
+
this.h36_1 = 0n;
|
|
1628
|
+
this.i9_1 = 1;
|
|
1629
|
+
continue $sm;
|
|
1630
|
+
case 1:
|
|
1631
|
+
this.j9_1 = 7;
|
|
1632
|
+
this.j9_1 = 6;
|
|
1633
|
+
this.i9_1 = 2;
|
|
1634
|
+
continue $sm;
|
|
1635
|
+
case 2:
|
|
1636
|
+
if (!!this.f36_1.m31()) {
|
|
1637
|
+
this.i9_1 = 5;
|
|
1638
|
+
continue $sm;
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
this.h36_1 = add(this.h36_1, this.f36_1.f31().h2x(this.g36_1.i31()));
|
|
1642
|
+
this.i9_1 = 3;
|
|
1643
|
+
suspendResult = this.g36_1.d31(this);
|
|
1644
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1645
|
+
return suspendResult;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
continue $sm;
|
|
1649
|
+
case 3:
|
|
1650
|
+
this.i9_1 = 4;
|
|
1651
|
+
suspendResult = this.f36_1.o31(VOID, this);
|
|
1652
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1653
|
+
return suspendResult;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
continue $sm;
|
|
1657
|
+
case 4:
|
|
1658
|
+
this.i9_1 = 2;
|
|
1659
|
+
continue $sm;
|
|
1660
|
+
case 5:
|
|
1661
|
+
this.j9_1 = 11;
|
|
1662
|
+
this.i9_1 = 9;
|
|
1663
|
+
continue $sm;
|
|
1664
|
+
case 6:
|
|
1665
|
+
this.j9_1 = 7;
|
|
1666
|
+
var tmp_0 = this.l9_1;
|
|
1667
|
+
if (tmp_0 instanceof Error) {
|
|
1668
|
+
var cause = this.l9_1;
|
|
1669
|
+
this.f36_1.q31(cause);
|
|
1670
|
+
close_0(this.g36_1, cause);
|
|
1671
|
+
throw cause;
|
|
1672
|
+
} else {
|
|
1673
|
+
throw this.l9_1;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
case 7:
|
|
1677
|
+
this.j9_1 = 11;
|
|
1678
|
+
this.i36_1 = this.l9_1;
|
|
1679
|
+
this.i9_1 = 8;
|
|
1680
|
+
suspendResult = this.g36_1.d31(this);
|
|
1681
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1682
|
+
return suspendResult;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
continue $sm;
|
|
1686
|
+
case 8:
|
|
1687
|
+
throw this.i36_1;
|
|
1688
|
+
case 9:
|
|
1689
|
+
this.j9_1 = 11;
|
|
1690
|
+
this.i9_1 = 10;
|
|
1691
|
+
suspendResult = this.g36_1.d31(this);
|
|
1692
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1693
|
+
return suspendResult;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
continue $sm;
|
|
1697
|
+
case 10:
|
|
1698
|
+
return this.h36_1;
|
|
1699
|
+
case 11:
|
|
1700
|
+
throw this.l9_1;
|
|
1701
|
+
}
|
|
1702
|
+
} catch ($p) {
|
|
1703
|
+
var e = $p;
|
|
1704
|
+
if (this.j9_1 === 11) {
|
|
1705
|
+
throw e;
|
|
1706
|
+
} else {
|
|
1707
|
+
this.i9_1 = this.j9_1;
|
|
1708
|
+
this.l9_1 = e;
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
while (true);
|
|
1712
|
+
};
|
|
1713
|
+
function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
|
|
1714
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1715
|
+
this.r36_1 = _this__u8e3s4;
|
|
1716
|
+
this.s36_1 = byteString;
|
|
1611
1717
|
}
|
|
1612
1718
|
protoOf($skipIfFoundCOROUTINE$).q9 = function () {
|
|
1613
1719
|
var suspendResult = this.k9_1;
|
|
@@ -1618,7 +1724,7 @@
|
|
|
1618
1724
|
case 0:
|
|
1619
1725
|
this.j9_1 = 4;
|
|
1620
1726
|
this.i9_1 = 1;
|
|
1621
|
-
suspendResult = peek(this.
|
|
1727
|
+
suspendResult = peek(this.r36_1, this.s36_1.g1(), this);
|
|
1622
1728
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1623
1729
|
return suspendResult;
|
|
1624
1730
|
}
|
|
@@ -1626,9 +1732,9 @@
|
|
|
1626
1732
|
continue $sm;
|
|
1627
1733
|
case 1:
|
|
1628
1734
|
var ARGUMENT = suspendResult;
|
|
1629
|
-
if (equals(ARGUMENT, this.
|
|
1735
|
+
if (equals(ARGUMENT, this.s36_1)) {
|
|
1630
1736
|
this.i9_1 = 3;
|
|
1631
|
-
suspendResult = discard(this.
|
|
1737
|
+
suspendResult = discard(this.r36_1, fromInt(this.s36_1.g1()), this);
|
|
1632
1738
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1633
1739
|
return suspendResult;
|
|
1634
1740
|
}
|
|
@@ -1658,8 +1764,8 @@
|
|
|
1658
1764
|
};
|
|
1659
1765
|
function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
|
|
1660
1766
|
CoroutineImpl.call(this, resultContinuation);
|
|
1661
|
-
this.
|
|
1662
|
-
this.
|
|
1767
|
+
this.b37_1 = _this__u8e3s4;
|
|
1768
|
+
this.c37_1 = packet;
|
|
1663
1769
|
}
|
|
1664
1770
|
protoOf($readPacketCOROUTINE$).q9 = function () {
|
|
1665
1771
|
var suspendResult = this.k9_1;
|
|
@@ -1669,18 +1775,18 @@
|
|
|
1669
1775
|
switch (tmp) {
|
|
1670
1776
|
case 0:
|
|
1671
1777
|
this.j9_1 = 6;
|
|
1672
|
-
this.
|
|
1778
|
+
this.d37_1 = new Buffer();
|
|
1673
1779
|
this.i9_1 = 1;
|
|
1674
1780
|
continue $sm;
|
|
1675
1781
|
case 1:
|
|
1676
|
-
if (!(this.
|
|
1782
|
+
if (!(this.d37_1.g1() < fromInt(this.c37_1))) {
|
|
1677
1783
|
this.i9_1 = 5;
|
|
1678
1784
|
continue $sm;
|
|
1679
1785
|
}
|
|
1680
1786
|
|
|
1681
|
-
if (this.
|
|
1787
|
+
if (this.b37_1.f31().e2w()) {
|
|
1682
1788
|
this.i9_1 = 2;
|
|
1683
|
-
suspendResult = this.
|
|
1789
|
+
suspendResult = this.b37_1.o31(VOID, this);
|
|
1684
1790
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1685
1791
|
return suspendResult;
|
|
1686
1792
|
}
|
|
@@ -1694,7 +1800,7 @@
|
|
|
1694
1800
|
this.i9_1 = 3;
|
|
1695
1801
|
continue $sm;
|
|
1696
1802
|
case 3:
|
|
1697
|
-
if (this.
|
|
1803
|
+
if (this.b37_1.m31()) {
|
|
1698
1804
|
this.i9_1 = 5;
|
|
1699
1805
|
continue $sm;
|
|
1700
1806
|
} else {
|
|
@@ -1703,20 +1809,20 @@
|
|
|
1703
1809
|
}
|
|
1704
1810
|
|
|
1705
1811
|
case 4:
|
|
1706
|
-
if (get_remaining(this.
|
|
1707
|
-
this.
|
|
1812
|
+
if (get_remaining(this.b37_1.f31()) > subtract(numberToLong(this.c37_1), this.d37_1.g1())) {
|
|
1813
|
+
this.b37_1.f31().g2x(this.d37_1, subtract(numberToLong(this.c37_1), this.d37_1.g1()));
|
|
1708
1814
|
} else {
|
|
1709
|
-
this.
|
|
1815
|
+
this.b37_1.f31().h2x(this.d37_1);
|
|
1710
1816
|
}
|
|
1711
1817
|
|
|
1712
1818
|
this.i9_1 = 1;
|
|
1713
1819
|
continue $sm;
|
|
1714
1820
|
case 5:
|
|
1715
|
-
if (this.
|
|
1716
|
-
throw EOFException_init_$Create$('Not enough data available, required ' + this.
|
|
1821
|
+
if (this.d37_1.g1() < fromInt(this.c37_1)) {
|
|
1822
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.c37_1 + ' bytes but only ' + this.d37_1.g1().toString() + ' available');
|
|
1717
1823
|
}
|
|
1718
1824
|
|
|
1719
|
-
return this.
|
|
1825
|
+
return this.d37_1;
|
|
1720
1826
|
case 6:
|
|
1721
1827
|
throw this.l9_1;
|
|
1722
1828
|
}
|
|
@@ -1733,8 +1839,8 @@
|
|
|
1733
1839
|
};
|
|
1734
1840
|
function $readRemainingCOROUTINE$_0(_this__u8e3s4, max, resultContinuation) {
|
|
1735
1841
|
CoroutineImpl.call(this, resultContinuation);
|
|
1736
|
-
this.
|
|
1737
|
-
this.
|
|
1842
|
+
this.m37_1 = _this__u8e3s4;
|
|
1843
|
+
this.n37_1 = max;
|
|
1738
1844
|
}
|
|
1739
1845
|
protoOf($readRemainingCOROUTINE$_0).q9 = function () {
|
|
1740
1846
|
var suspendResult = this.k9_1;
|
|
@@ -1744,26 +1850,26 @@
|
|
|
1744
1850
|
switch (tmp) {
|
|
1745
1851
|
case 0:
|
|
1746
1852
|
this.j9_1 = 4;
|
|
1747
|
-
this.
|
|
1748
|
-
this.
|
|
1853
|
+
this.o37_1 = BytePacketBuilder();
|
|
1854
|
+
this.p37_1 = this.n37_1;
|
|
1749
1855
|
this.i9_1 = 1;
|
|
1750
1856
|
continue $sm;
|
|
1751
1857
|
case 1:
|
|
1752
|
-
if (!(!this.
|
|
1858
|
+
if (!(!this.m37_1.m31() && this.p37_1 > 0n)) {
|
|
1753
1859
|
this.i9_1 = 3;
|
|
1754
1860
|
continue $sm;
|
|
1755
1861
|
}
|
|
1756
1862
|
|
|
1757
|
-
if (this.
|
|
1758
|
-
this.
|
|
1759
|
-
this.
|
|
1863
|
+
if (this.p37_1 >= get_remaining(this.m37_1.f31())) {
|
|
1864
|
+
this.p37_1 = subtract(this.p37_1, get_remaining(this.m37_1.f31()));
|
|
1865
|
+
this.m37_1.f31().h2x(this.o37_1);
|
|
1760
1866
|
} else {
|
|
1761
|
-
this.
|
|
1762
|
-
this.
|
|
1867
|
+
this.m37_1.f31().g2x(this.o37_1, this.p37_1);
|
|
1868
|
+
this.p37_1 = 0n;
|
|
1763
1869
|
}
|
|
1764
1870
|
|
|
1765
1871
|
this.i9_1 = 2;
|
|
1766
|
-
suspendResult = this.
|
|
1872
|
+
suspendResult = this.m37_1.o31(VOID, this);
|
|
1767
1873
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1768
1874
|
return suspendResult;
|
|
1769
1875
|
}
|
|
@@ -1773,7 +1879,7 @@
|
|
|
1773
1879
|
this.i9_1 = 1;
|
|
1774
1880
|
continue $sm;
|
|
1775
1881
|
case 3:
|
|
1776
|
-
return this.
|
|
1882
|
+
return this.o37_1.d2w();
|
|
1777
1883
|
case 4:
|
|
1778
1884
|
throw this.l9_1;
|
|
1779
1885
|
}
|
|
@@ -1790,8 +1896,8 @@
|
|
|
1790
1896
|
};
|
|
1791
1897
|
function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
|
|
1792
1898
|
CoroutineImpl.call(this, resultContinuation);
|
|
1793
|
-
this.
|
|
1794
|
-
this.
|
|
1899
|
+
this.y37_1 = _this__u8e3s4;
|
|
1900
|
+
this.z37_1 = count;
|
|
1795
1901
|
}
|
|
1796
1902
|
protoOf($peekCOROUTINE$).q9 = function () {
|
|
1797
1903
|
var suspendResult = this.k9_1;
|
|
@@ -1801,10 +1907,10 @@
|
|
|
1801
1907
|
switch (tmp) {
|
|
1802
1908
|
case 0:
|
|
1803
1909
|
this.j9_1 = 3;
|
|
1804
|
-
if (this.
|
|
1910
|
+
if (this.y37_1.m31())
|
|
1805
1911
|
return null;
|
|
1806
1912
|
this.i9_1 = 1;
|
|
1807
|
-
suspendResult = this.
|
|
1913
|
+
suspendResult = this.y37_1.n31(this.z37_1, this);
|
|
1808
1914
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1809
1915
|
return suspendResult;
|
|
1810
1916
|
}
|
|
@@ -1819,7 +1925,7 @@
|
|
|
1819
1925
|
}
|
|
1820
1926
|
|
|
1821
1927
|
case 2:
|
|
1822
|
-
return readByteString(this.
|
|
1928
|
+
return readByteString(this.y37_1.f31().i2x(), this.z37_1);
|
|
1823
1929
|
case 3:
|
|
1824
1930
|
throw this.l9_1;
|
|
1825
1931
|
}
|
|
@@ -1836,11 +1942,11 @@
|
|
|
1836
1942
|
};
|
|
1837
1943
|
function $internalReadLineToCOROUTINE$(_this__u8e3s4, out, limit, lenientLineEnding, throwOnIncompleteLine, resultContinuation) {
|
|
1838
1944
|
CoroutineImpl.call(this, resultContinuation);
|
|
1839
|
-
this.
|
|
1840
|
-
this.
|
|
1841
|
-
this.
|
|
1842
|
-
this.
|
|
1843
|
-
this.
|
|
1945
|
+
this.i38_1 = _this__u8e3s4;
|
|
1946
|
+
this.j38_1 = out;
|
|
1947
|
+
this.k38_1 = limit;
|
|
1948
|
+
this.l38_1 = lenientLineEnding;
|
|
1949
|
+
this.m38_1 = throwOnIncompleteLine;
|
|
1844
1950
|
}
|
|
1845
1951
|
protoOf($internalReadLineToCOROUTINE$).q9 = function () {
|
|
1846
1952
|
var suspendResult = this.k9_1;
|
|
@@ -1850,10 +1956,10 @@
|
|
|
1850
1956
|
switch (tmp) {
|
|
1851
1957
|
case 0:
|
|
1852
1958
|
this.j9_1 = 18;
|
|
1853
|
-
this.
|
|
1854
|
-
if (this.
|
|
1959
|
+
this.o38_1 = this.i38_1.f31();
|
|
1960
|
+
if (this.o38_1.e2w()) {
|
|
1855
1961
|
this.i9_1 = 1;
|
|
1856
|
-
suspendResult = this.
|
|
1962
|
+
suspendResult = this.i38_1.o31(VOID, this);
|
|
1857
1963
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1858
1964
|
return suspendResult;
|
|
1859
1965
|
}
|
|
@@ -1867,94 +1973,94 @@
|
|
|
1867
1973
|
this.i9_1 = 2;
|
|
1868
1974
|
continue $sm;
|
|
1869
1975
|
case 2:
|
|
1870
|
-
if (this.
|
|
1976
|
+
if (this.i38_1.m31())
|
|
1871
1977
|
return -1n;
|
|
1872
|
-
this.
|
|
1978
|
+
this.n38_1 = {_v: 0n};
|
|
1873
1979
|
this.i9_1 = 3;
|
|
1874
1980
|
continue $sm;
|
|
1875
1981
|
case 3:
|
|
1876
|
-
if (!(this.
|
|
1982
|
+
if (!(this.n38_1._v < this.k38_1 && !this.i38_1.m31())) {
|
|
1877
1983
|
this.i9_1 = 10;
|
|
1878
1984
|
continue $sm;
|
|
1879
1985
|
}
|
|
1880
1986
|
|
|
1881
|
-
var limitLeft = subtract(this.
|
|
1882
|
-
var lfIndex = indexOf(this.
|
|
1883
|
-
var crIndex = internalReadLineTo$scanForSoleCr(this.
|
|
1987
|
+
var limitLeft = subtract(this.k38_1, this.n38_1._v);
|
|
1988
|
+
var lfIndex = indexOf(this.o38_1, 10, VOID, limitLeft);
|
|
1989
|
+
var crIndex = internalReadLineTo$scanForSoleCr(this.o38_1, this.l38_1, lfIndex, limitLeft);
|
|
1884
1990
|
if (crIndex >= 0n) {
|
|
1885
|
-
internalReadLineTo$transferString(this.
|
|
1886
|
-
discard_0(this.
|
|
1887
|
-
return this.
|
|
1991
|
+
internalReadLineTo$transferString(this.o38_1, this.j38_1, this.n38_1, crIndex);
|
|
1992
|
+
discard_0(this.o38_1, 1n);
|
|
1993
|
+
return this.n38_1._v;
|
|
1888
1994
|
}
|
|
1889
1995
|
|
|
1890
1996
|
if (lfIndex === 0n) {
|
|
1891
|
-
discard_0(this.
|
|
1892
|
-
return this.
|
|
1997
|
+
discard_0(this.o38_1, 1n);
|
|
1998
|
+
return this.n38_1._v;
|
|
1893
1999
|
}
|
|
1894
2000
|
|
|
1895
2001
|
if (lfIndex > 0n) {
|
|
1896
2002
|
var tmp_0;
|
|
1897
|
-
var tmp_1 = this.
|
|
2003
|
+
var tmp_1 = this.o38_1.d2w();
|
|
1898
2004
|
if (tmp_1.z2w(subtract(lfIndex, fromInt(1))) === 13) {
|
|
1899
2005
|
tmp_0 = 1n;
|
|
1900
2006
|
} else {
|
|
1901
2007
|
tmp_0 = 0n;
|
|
1902
2008
|
}
|
|
1903
2009
|
var isCrlf = tmp_0;
|
|
1904
|
-
internalReadLineTo$transferString(this.
|
|
1905
|
-
discard_0(this.
|
|
1906
|
-
return this.
|
|
2010
|
+
internalReadLineTo$transferString(this.o38_1, this.j38_1, this.n38_1, subtract(lfIndex, isCrlf));
|
|
2011
|
+
discard_0(this.o38_1, add(numberToLong(1), isCrlf));
|
|
2012
|
+
return this.n38_1._v;
|
|
1907
2013
|
}
|
|
1908
2014
|
|
|
1909
|
-
var b = get_remaining(this.
|
|
2015
|
+
var b = get_remaining(this.o38_1);
|
|
1910
2016
|
var count = limitLeft <= b ? limitLeft : b;
|
|
1911
|
-
var tmp_2 = this.
|
|
2017
|
+
var tmp_2 = this.o38_1.d2w();
|
|
1912
2018
|
if (tmp_2.z2w(subtract(count, fromInt(1))) === 13) {
|
|
1913
|
-
internalReadLineTo$transferString(this.
|
|
2019
|
+
internalReadLineTo$transferString(this.o38_1, this.j38_1, this.n38_1, subtract(count, fromInt(1)));
|
|
1914
2020
|
this.i9_1 = 4;
|
|
1915
|
-
suspendResult = internalReadLineTo$discardCrlfOrCr(this.
|
|
2021
|
+
suspendResult = internalReadLineTo$discardCrlfOrCr(this.o38_1, this.i38_1, this.l38_1, this);
|
|
1916
2022
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1917
2023
|
return suspendResult;
|
|
1918
2024
|
}
|
|
1919
2025
|
continue $sm;
|
|
1920
2026
|
} else {
|
|
1921
|
-
internalReadLineTo$transferString(this.
|
|
2027
|
+
internalReadLineTo$transferString(this.o38_1, this.j38_1, this.n38_1, count);
|
|
1922
2028
|
this.i9_1 = 6;
|
|
1923
2029
|
continue $sm;
|
|
1924
2030
|
}
|
|
1925
2031
|
|
|
1926
2032
|
case 4:
|
|
1927
2033
|
if (suspendResult) {
|
|
1928
|
-
return this.
|
|
2034
|
+
return this.n38_1._v;
|
|
1929
2035
|
} else {
|
|
1930
2036
|
this.i9_1 = 5;
|
|
1931
2037
|
continue $sm;
|
|
1932
2038
|
}
|
|
1933
2039
|
|
|
1934
2040
|
case 5:
|
|
1935
|
-
internalReadLineTo$transferString(this.
|
|
2041
|
+
internalReadLineTo$transferString(this.o38_1, this.j38_1, this.n38_1, 1n);
|
|
1936
2042
|
this.i9_1 = 6;
|
|
1937
2043
|
continue $sm;
|
|
1938
2044
|
case 6:
|
|
1939
|
-
if (this.
|
|
2045
|
+
if (this.n38_1._v < this.k38_1 && get_remaining(this.o38_1) === 0n) {
|
|
1940
2046
|
this.i9_1 = 7;
|
|
1941
|
-
suspendResult = this.
|
|
2047
|
+
suspendResult = this.i38_1.o31(VOID, this);
|
|
1942
2048
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1943
2049
|
return suspendResult;
|
|
1944
2050
|
}
|
|
1945
2051
|
continue $sm;
|
|
1946
2052
|
} else {
|
|
1947
|
-
this.
|
|
2053
|
+
this.q38_1 = false;
|
|
1948
2054
|
this.i9_1 = 8;
|
|
1949
2055
|
continue $sm;
|
|
1950
2056
|
}
|
|
1951
2057
|
|
|
1952
2058
|
case 7:
|
|
1953
|
-
this.
|
|
2059
|
+
this.q38_1 = !suspendResult;
|
|
1954
2060
|
this.i9_1 = 8;
|
|
1955
2061
|
continue $sm;
|
|
1956
2062
|
case 8:
|
|
1957
|
-
if (this.
|
|
2063
|
+
if (this.q38_1) {
|
|
1958
2064
|
this.i9_1 = 10;
|
|
1959
2065
|
continue $sm;
|
|
1960
2066
|
} else {
|
|
@@ -1966,25 +2072,25 @@
|
|
|
1966
2072
|
this.i9_1 = 3;
|
|
1967
2073
|
continue $sm;
|
|
1968
2074
|
case 10:
|
|
1969
|
-
if (this.
|
|
2075
|
+
if (this.n38_1._v === 0n && this.i38_1.m31())
|
|
1970
2076
|
return -1n;
|
|
1971
|
-
if (!(this.
|
|
1972
|
-
var message = 'Consumed bytes exceed the limit: ' + this.
|
|
2077
|
+
if (!(this.n38_1._v <= this.k38_1)) {
|
|
2078
|
+
var message = 'Consumed bytes exceed the limit: ' + this.n38_1._v.toString() + ' > ' + this.k38_1.toString() + ". It's an implementation bug, please report it.";
|
|
1973
2079
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
1974
2080
|
}
|
|
1975
2081
|
|
|
1976
|
-
if (this.
|
|
1977
|
-
if (this.
|
|
2082
|
+
if (this.n38_1._v === this.k38_1) {
|
|
2083
|
+
if (this.k38_1 === 9223372036854775807n)
|
|
1978
2084
|
throw new TooLongLineException('Max line length exceeded');
|
|
1979
|
-
if (get_remaining(this.
|
|
2085
|
+
if (get_remaining(this.o38_1) === 0n) {
|
|
1980
2086
|
this.i9_1 = 12;
|
|
1981
|
-
suspendResult = this.
|
|
2087
|
+
suspendResult = this.i38_1.o31(VOID, this);
|
|
1982
2088
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1983
2089
|
return suspendResult;
|
|
1984
2090
|
}
|
|
1985
2091
|
continue $sm;
|
|
1986
2092
|
} else {
|
|
1987
|
-
this.
|
|
2093
|
+
this.p38_1 = false;
|
|
1988
2094
|
this.i9_1 = 13;
|
|
1989
2095
|
continue $sm;
|
|
1990
2096
|
}
|
|
@@ -1994,18 +2100,18 @@
|
|
|
1994
2100
|
}
|
|
1995
2101
|
|
|
1996
2102
|
case 11:
|
|
1997
|
-
if (this.
|
|
1998
|
-
throwEndOfStreamException(this.
|
|
2103
|
+
if (this.m38_1) {
|
|
2104
|
+
throwEndOfStreamException(this.n38_1._v);
|
|
1999
2105
|
}
|
|
2000
2106
|
|
|
2001
|
-
return this.
|
|
2107
|
+
return this.n38_1._v;
|
|
2002
2108
|
case 12:
|
|
2003
|
-
this.
|
|
2109
|
+
this.p38_1 = !suspendResult;
|
|
2004
2110
|
this.i9_1 = 13;
|
|
2005
2111
|
continue $sm;
|
|
2006
2112
|
case 13:
|
|
2007
|
-
if (this.
|
|
2008
|
-
throwEndOfStreamException(this.
|
|
2113
|
+
if (this.p38_1) {
|
|
2114
|
+
throwEndOfStreamException(this.n38_1._v);
|
|
2009
2115
|
} else {
|
|
2010
2116
|
this.i9_1 = 14;
|
|
2011
2117
|
continue $sm;
|
|
@@ -2013,14 +2119,14 @@
|
|
|
2013
2119
|
|
|
2014
2120
|
break;
|
|
2015
2121
|
case 14:
|
|
2016
|
-
var tmp0_subject = this.
|
|
2122
|
+
var tmp0_subject = this.o38_1.d2w().z2w(0n);
|
|
2017
2123
|
if (tmp0_subject === 10) {
|
|
2018
|
-
discard_0(this.
|
|
2019
|
-
return this.
|
|
2124
|
+
discard_0(this.o38_1, 1n);
|
|
2125
|
+
return this.n38_1._v;
|
|
2020
2126
|
} else {
|
|
2021
2127
|
if (tmp0_subject === 13) {
|
|
2022
2128
|
this.i9_1 = 15;
|
|
2023
|
-
suspendResult = internalReadLineTo$discardCrlfOrCr(this.
|
|
2129
|
+
suspendResult = internalReadLineTo$discardCrlfOrCr(this.o38_1, this.i38_1, this.l38_1, this);
|
|
2024
2130
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2025
2131
|
return suspendResult;
|
|
2026
2132
|
}
|
|
@@ -2033,7 +2139,7 @@
|
|
|
2033
2139
|
|
|
2034
2140
|
case 15:
|
|
2035
2141
|
if (suspendResult) {
|
|
2036
|
-
return this.
|
|
2142
|
+
return this.n38_1._v;
|
|
2037
2143
|
} else {
|
|
2038
2144
|
this.i9_1 = 16;
|
|
2039
2145
|
continue $sm;
|
|
@@ -2043,7 +2149,7 @@
|
|
|
2043
2149
|
this.i9_1 = 17;
|
|
2044
2150
|
continue $sm;
|
|
2045
2151
|
case 17:
|
|
2046
|
-
throwTooLongLineException(this.
|
|
2152
|
+
throwTooLongLineException(this.k38_1);
|
|
2047
2153
|
break;
|
|
2048
2154
|
case 18:
|
|
2049
2155
|
throw this.l9_1;
|
|
@@ -2061,9 +2167,9 @@
|
|
|
2061
2167
|
};
|
|
2062
2168
|
function $internalReadLineTo$discardCrlfOrCrCOROUTINE$(_this__u8e3s4, $this_internalReadLineTo, $lenientLineEnding, resultContinuation) {
|
|
2063
2169
|
CoroutineImpl.call(this, resultContinuation);
|
|
2064
|
-
this.
|
|
2065
|
-
this.
|
|
2066
|
-
this.
|
|
2170
|
+
this.z38_1 = _this__u8e3s4;
|
|
2171
|
+
this.a39_1 = $this_internalReadLineTo;
|
|
2172
|
+
this.b39_1 = $lenientLineEnding;
|
|
2067
2173
|
}
|
|
2068
2174
|
protoOf($internalReadLineTo$discardCrlfOrCrCOROUTINE$).q9 = function () {
|
|
2069
2175
|
var suspendResult = this.k9_1;
|
|
@@ -2073,13 +2179,13 @@
|
|
|
2073
2179
|
switch (tmp) {
|
|
2074
2180
|
case 0:
|
|
2075
2181
|
this.j9_1 = 5;
|
|
2076
|
-
if (get_remaining(this.
|
|
2077
|
-
this.
|
|
2182
|
+
if (get_remaining(this.z38_1) >= 2n) {
|
|
2183
|
+
this.d39_1 = true;
|
|
2078
2184
|
this.i9_1 = 2;
|
|
2079
2185
|
continue $sm;
|
|
2080
2186
|
} else {
|
|
2081
2187
|
this.i9_1 = 1;
|
|
2082
|
-
suspendResult = this.
|
|
2188
|
+
suspendResult = this.a39_1.n31(2, this);
|
|
2083
2189
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2084
2190
|
return suspendResult;
|
|
2085
2191
|
}
|
|
@@ -2087,23 +2193,23 @@
|
|
|
2087
2193
|
}
|
|
2088
2194
|
|
|
2089
2195
|
case 1:
|
|
2090
|
-
this.
|
|
2196
|
+
this.d39_1 = suspendResult;
|
|
2091
2197
|
this.i9_1 = 2;
|
|
2092
2198
|
continue $sm;
|
|
2093
2199
|
case 2:
|
|
2094
|
-
if (this.
|
|
2095
|
-
this.
|
|
2200
|
+
if (this.d39_1) {
|
|
2201
|
+
this.c39_1 = this.z38_1.d2w().z2w(1n) === 10;
|
|
2096
2202
|
this.i9_1 = 3;
|
|
2097
2203
|
continue $sm;
|
|
2098
2204
|
} else {
|
|
2099
|
-
this.
|
|
2205
|
+
this.c39_1 = false;
|
|
2100
2206
|
this.i9_1 = 3;
|
|
2101
2207
|
continue $sm;
|
|
2102
2208
|
}
|
|
2103
2209
|
|
|
2104
2210
|
case 3:
|
|
2105
|
-
if (this.
|
|
2106
|
-
discard_0(this.
|
|
2211
|
+
if (this.c39_1) {
|
|
2212
|
+
discard_0(this.z38_1, 2n);
|
|
2107
2213
|
return true;
|
|
2108
2214
|
} else {
|
|
2109
2215
|
this.i9_1 = 4;
|
|
@@ -2111,8 +2217,8 @@
|
|
|
2111
2217
|
}
|
|
2112
2218
|
|
|
2113
2219
|
case 4:
|
|
2114
|
-
if (this.
|
|
2115
|
-
discard_0(this.
|
|
2220
|
+
if (this.b39_1) {
|
|
2221
|
+
discard_0(this.z38_1, 1n);
|
|
2116
2222
|
return true;
|
|
2117
2223
|
}
|
|
2118
2224
|
|
|
@@ -2141,7 +2247,7 @@
|
|
|
2141
2247
|
}
|
|
2142
2248
|
function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
2143
2249
|
CoroutineImpl.call(this, resultContinuation);
|
|
2144
|
-
this.
|
|
2250
|
+
this.m39_1 = _this__u8e3s4;
|
|
2145
2251
|
}
|
|
2146
2252
|
protoOf($flushIfNeededCOROUTINE$).q9 = function () {
|
|
2147
2253
|
var suspendResult = this.k9_1;
|
|
@@ -2151,10 +2257,10 @@
|
|
|
2151
2257
|
switch (tmp) {
|
|
2152
2258
|
case 0:
|
|
2153
2259
|
this.j9_1 = 3;
|
|
2154
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
2155
|
-
if (this.
|
|
2260
|
+
rethrowCloseCauseIfNeeded_1(this.m39_1);
|
|
2261
|
+
if (this.m39_1.e31() || get_size(this.m39_1.i31()) >= 1048576) {
|
|
2156
2262
|
this.i9_1 = 1;
|
|
2157
|
-
suspendResult = this.
|
|
2263
|
+
suspendResult = this.m39_1.d31(this);
|
|
2158
2264
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2159
2265
|
return suspendResult;
|
|
2160
2266
|
}
|
|
@@ -2195,11 +2301,11 @@
|
|
|
2195
2301
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2196
2302
|
}
|
|
2197
2303
|
function WriterJob(channel, job) {
|
|
2198
|
-
this.
|
|
2199
|
-
this.
|
|
2304
|
+
this.n39_1 = channel;
|
|
2305
|
+
this.o39_1 = job;
|
|
2200
2306
|
}
|
|
2201
2307
|
protoOf(WriterJob).o29 = function () {
|
|
2202
|
-
return this.
|
|
2308
|
+
return this.o39_1;
|
|
2203
2309
|
};
|
|
2204
2310
|
function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
2205
2311
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_instance : coroutineContext;
|
|
@@ -2208,11 +2314,11 @@
|
|
|
2208
2314
|
return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
|
|
2209
2315
|
}
|
|
2210
2316
|
function WriterScope(channel, coroutineContext) {
|
|
2211
|
-
this.
|
|
2212
|
-
this.
|
|
2317
|
+
this.p39_1 = channel;
|
|
2318
|
+
this.q39_1 = coroutineContext;
|
|
2213
2319
|
}
|
|
2214
2320
|
protoOf(WriterScope).e26 = function () {
|
|
2215
|
-
return this.
|
|
2321
|
+
return this.q39_1;
|
|
2216
2322
|
};
|
|
2217
2323
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
2218
2324
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
@@ -2250,10 +2356,10 @@
|
|
|
2250
2356
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2251
2357
|
}
|
|
2252
2358
|
function NO_CALLBACK$1() {
|
|
2253
|
-
this.
|
|
2359
|
+
this.b3a_1 = EmptyCoroutineContext_instance;
|
|
2254
2360
|
}
|
|
2255
2361
|
protoOf(NO_CALLBACK$1).o9 = function () {
|
|
2256
|
-
return this.
|
|
2362
|
+
return this.b3a_1;
|
|
2257
2363
|
};
|
|
2258
2364
|
protoOf(NO_CALLBACK$1).p9 = function (result) {
|
|
2259
2365
|
return Unit_instance;
|
|
@@ -2262,36 +2368,36 @@
|
|
|
2262
2368
|
return this.p9(result);
|
|
2263
2369
|
};
|
|
2264
2370
|
function ByteWriteChannel$flushAndClose$ref(p0) {
|
|
2265
|
-
this.
|
|
2371
|
+
this.c3a_1 = p0;
|
|
2266
2372
|
}
|
|
2267
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2268
|
-
return this.
|
|
2373
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).d3a = function ($completion) {
|
|
2374
|
+
return this.c3a_1.p31($completion);
|
|
2269
2375
|
};
|
|
2270
2376
|
protoOf(ByteWriteChannel$flushAndClose$ref).za = function ($completion) {
|
|
2271
|
-
return this.
|
|
2377
|
+
return this.d3a($completion);
|
|
2272
2378
|
};
|
|
2273
2379
|
function ByteWriteChannel$flushAndClose$ref_0(p0) {
|
|
2274
2380
|
var i = new ByteWriteChannel$flushAndClose$ref(p0);
|
|
2275
2381
|
var l = function ($completion) {
|
|
2276
|
-
return i.
|
|
2382
|
+
return i.d3a($completion);
|
|
2277
2383
|
};
|
|
2278
2384
|
l.callableName = 'flushAndClose';
|
|
2279
2385
|
l.$arity = 0;
|
|
2280
2386
|
return l;
|
|
2281
2387
|
}
|
|
2282
2388
|
function writer$slambda($block, $channel, resultContinuation) {
|
|
2283
|
-
this.
|
|
2284
|
-
this.
|
|
2389
|
+
this.m3a_1 = $block;
|
|
2390
|
+
this.n3a_1 = $channel;
|
|
2285
2391
|
CoroutineImpl.call(this, resultContinuation);
|
|
2286
2392
|
}
|
|
2287
|
-
protoOf(writer$slambda).
|
|
2288
|
-
var tmp = this.
|
|
2393
|
+
protoOf(writer$slambda).v3a = function ($this$launch, $completion) {
|
|
2394
|
+
var tmp = this.w3a($this$launch, $completion);
|
|
2289
2395
|
tmp.k9_1 = Unit_instance;
|
|
2290
2396
|
tmp.l9_1 = null;
|
|
2291
2397
|
return tmp.q9();
|
|
2292
2398
|
};
|
|
2293
2399
|
protoOf(writer$slambda).ca = function (p1, $completion) {
|
|
2294
|
-
return this.
|
|
2400
|
+
return this.v3a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2295
2401
|
};
|
|
2296
2402
|
protoOf(writer$slambda).q9 = function () {
|
|
2297
2403
|
var suspendResult = this.k9_1;
|
|
@@ -2301,24 +2407,24 @@
|
|
|
2301
2407
|
switch (tmp) {
|
|
2302
2408
|
case 0:
|
|
2303
2409
|
this.j9_1 = 14;
|
|
2304
|
-
this.
|
|
2410
|
+
this.r3a_1 = Job(get_job(this.o3a_1.e26()));
|
|
2305
2411
|
this.i9_1 = 1;
|
|
2306
2412
|
continue $sm;
|
|
2307
2413
|
case 1:
|
|
2308
2414
|
this.j9_1 = 4;
|
|
2309
2415
|
this.j9_1 = 3;
|
|
2310
2416
|
this.i9_1 = 2;
|
|
2311
|
-
suspendResult = this.
|
|
2417
|
+
suspendResult = this.m3a_1(new WriterScope(this.n3a_1, this.o3a_1.e26().qj(this.r3a_1)), this);
|
|
2312
2418
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2313
2419
|
return suspendResult;
|
|
2314
2420
|
}
|
|
2315
2421
|
|
|
2316
2422
|
continue $sm;
|
|
2317
2423
|
case 2:
|
|
2318
|
-
this.
|
|
2424
|
+
this.r3a_1.l2e();
|
|
2319
2425
|
var tmp_0;
|
|
2320
|
-
if (get_job(this.
|
|
2321
|
-
this.
|
|
2426
|
+
if (get_job(this.o3a_1.e26()).a27()) {
|
|
2427
|
+
this.n3a_1.q31(get_job(this.o3a_1.e26()).d27());
|
|
2322
2428
|
tmp_0 = Unit_instance;
|
|
2323
2429
|
}
|
|
2324
2430
|
|
|
@@ -2330,8 +2436,8 @@
|
|
|
2330
2436
|
var tmp_1 = this.l9_1;
|
|
2331
2437
|
if (tmp_1 instanceof Error) {
|
|
2332
2438
|
var cause = this.l9_1;
|
|
2333
|
-
cancel(this.
|
|
2334
|
-
this.
|
|
2439
|
+
cancel(this.r3a_1, 'Exception thrown while writing to channel', cause);
|
|
2440
|
+
this.n3a_1.q31(cause);
|
|
2335
2441
|
this.j9_1 = 14;
|
|
2336
2442
|
this.i9_1 = 9;
|
|
2337
2443
|
continue $sm;
|
|
@@ -2341,20 +2447,20 @@
|
|
|
2341
2447
|
|
|
2342
2448
|
case 4:
|
|
2343
2449
|
this.j9_1 = 14;
|
|
2344
|
-
this.
|
|
2450
|
+
this.s3a_1 = this.l9_1;
|
|
2345
2451
|
this.i9_1 = 5;
|
|
2346
|
-
suspendResult = this.
|
|
2452
|
+
suspendResult = this.r3a_1.k27(this);
|
|
2347
2453
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2348
2454
|
return suspendResult;
|
|
2349
2455
|
}
|
|
2350
2456
|
|
|
2351
2457
|
continue $sm;
|
|
2352
2458
|
case 5:
|
|
2353
|
-
this.
|
|
2459
|
+
this.o3a_1;
|
|
2354
2460
|
this.j9_1 = 7;
|
|
2355
|
-
this.
|
|
2461
|
+
this.u3a_1 = Companion_instance;
|
|
2356
2462
|
this.i9_1 = 6;
|
|
2357
|
-
suspendResult = this.
|
|
2463
|
+
suspendResult = this.n3a_1.p31(this);
|
|
2358
2464
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2359
2465
|
return suspendResult;
|
|
2360
2466
|
}
|
|
@@ -2362,8 +2468,8 @@
|
|
|
2362
2468
|
continue $sm;
|
|
2363
2469
|
case 6:
|
|
2364
2470
|
var tmp_2 = this;
|
|
2365
|
-
this.
|
|
2366
|
-
tmp_2.
|
|
2471
|
+
this.u3a_1;
|
|
2472
|
+
tmp_2.t3a_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2367
2473
|
this.j9_1 = 14;
|
|
2368
2474
|
this.i9_1 = 8;
|
|
2369
2475
|
continue $sm;
|
|
@@ -2373,7 +2479,7 @@
|
|
|
2373
2479
|
if (tmp_3 instanceof Error) {
|
|
2374
2480
|
var e = this.l9_1;
|
|
2375
2481
|
var tmp_4 = this;
|
|
2376
|
-
tmp_4.
|
|
2482
|
+
tmp_4.t3a_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2377
2483
|
this.i9_1 = 8;
|
|
2378
2484
|
continue $sm;
|
|
2379
2485
|
} else {
|
|
@@ -2382,22 +2488,22 @@
|
|
|
2382
2488
|
|
|
2383
2489
|
case 8:
|
|
2384
2490
|
this.j9_1 = 14;
|
|
2385
|
-
throw this.
|
|
2491
|
+
throw this.s3a_1;
|
|
2386
2492
|
case 9:
|
|
2387
2493
|
this.j9_1 = 14;
|
|
2388
2494
|
this.i9_1 = 10;
|
|
2389
|
-
suspendResult = this.
|
|
2495
|
+
suspendResult = this.r3a_1.k27(this);
|
|
2390
2496
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2391
2497
|
return suspendResult;
|
|
2392
2498
|
}
|
|
2393
2499
|
|
|
2394
2500
|
continue $sm;
|
|
2395
2501
|
case 10:
|
|
2396
|
-
this.
|
|
2502
|
+
this.o3a_1;
|
|
2397
2503
|
this.j9_1 = 12;
|
|
2398
|
-
this.
|
|
2504
|
+
this.q3a_1 = Companion_instance;
|
|
2399
2505
|
this.i9_1 = 11;
|
|
2400
|
-
suspendResult = this.
|
|
2506
|
+
suspendResult = this.n3a_1.p31(this);
|
|
2401
2507
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2402
2508
|
return suspendResult;
|
|
2403
2509
|
}
|
|
@@ -2405,8 +2511,8 @@
|
|
|
2405
2511
|
continue $sm;
|
|
2406
2512
|
case 11:
|
|
2407
2513
|
var tmp_5 = this;
|
|
2408
|
-
this.
|
|
2409
|
-
tmp_5.
|
|
2514
|
+
this.q3a_1;
|
|
2515
|
+
tmp_5.p3a_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2410
2516
|
this.j9_1 = 14;
|
|
2411
2517
|
this.i9_1 = 13;
|
|
2412
2518
|
continue $sm;
|
|
@@ -2416,7 +2522,7 @@
|
|
|
2416
2522
|
if (tmp_6 instanceof Error) {
|
|
2417
2523
|
var e_0 = this.l9_1;
|
|
2418
2524
|
var tmp_7 = this;
|
|
2419
|
-
tmp_7.
|
|
2525
|
+
tmp_7.p3a_1 = _Result___init__impl__xyqfz8(createFailure(e_0));
|
|
2420
2526
|
this.i9_1 = 13;
|
|
2421
2527
|
continue $sm;
|
|
2422
2528
|
} else {
|
|
@@ -2440,15 +2546,15 @@
|
|
|
2440
2546
|
}
|
|
2441
2547
|
while (true);
|
|
2442
2548
|
};
|
|
2443
|
-
protoOf(writer$slambda).
|
|
2444
|
-
var i = new writer$slambda(this.
|
|
2445
|
-
i.
|
|
2549
|
+
protoOf(writer$slambda).w3a = function ($this$launch, completion) {
|
|
2550
|
+
var i = new writer$slambda(this.m3a_1, this.n3a_1, completion);
|
|
2551
|
+
i.o3a_1 = $this$launch;
|
|
2446
2552
|
return i;
|
|
2447
2553
|
};
|
|
2448
2554
|
function writer$slambda_0($block, $channel, resultContinuation) {
|
|
2449
2555
|
var i = new writer$slambda($block, $channel, resultContinuation);
|
|
2450
2556
|
var l = function ($this$launch, $completion) {
|
|
2451
|
-
return i.
|
|
2557
|
+
return i.v3a($this$launch, $completion);
|
|
2452
2558
|
};
|
|
2453
2559
|
l.$arity = 1;
|
|
2454
2560
|
return l;
|
|
@@ -2465,8 +2571,8 @@
|
|
|
2465
2571
|
}
|
|
2466
2572
|
function $writePacketCOROUTINE$(_this__u8e3s4, source, resultContinuation) {
|
|
2467
2573
|
CoroutineImpl.call(this, resultContinuation);
|
|
2468
|
-
this.
|
|
2469
|
-
this.
|
|
2574
|
+
this.z39_1 = _this__u8e3s4;
|
|
2575
|
+
this.a3a_1 = source;
|
|
2470
2576
|
}
|
|
2471
2577
|
protoOf($writePacketCOROUTINE$).q9 = function () {
|
|
2472
2578
|
var suspendResult = this.k9_1;
|
|
@@ -2479,14 +2585,14 @@
|
|
|
2479
2585
|
this.i9_1 = 1;
|
|
2480
2586
|
continue $sm;
|
|
2481
2587
|
case 1:
|
|
2482
|
-
if (!!this.
|
|
2588
|
+
if (!!this.a3a_1.e2w()) {
|
|
2483
2589
|
this.i9_1 = 3;
|
|
2484
2590
|
continue $sm;
|
|
2485
2591
|
}
|
|
2486
2592
|
|
|
2487
|
-
this.
|
|
2593
|
+
this.z39_1.i31().r2x(this.a3a_1, get_remaining(this.a3a_1));
|
|
2488
2594
|
this.i9_1 = 2;
|
|
2489
|
-
suspendResult = flushIfNeeded(this.
|
|
2595
|
+
suspendResult = flushIfNeeded(this.z39_1, this);
|
|
2490
2596
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2491
2597
|
return suspendResult;
|
|
2492
2598
|
}
|
|
@@ -2533,7 +2639,7 @@
|
|
|
2533
2639
|
function CloseToken(origin) {
|
|
2534
2640
|
this.g31_1 = origin;
|
|
2535
2641
|
}
|
|
2536
|
-
protoOf(CloseToken).
|
|
2642
|
+
protoOf(CloseToken).x3a = function (wrap) {
|
|
2537
2643
|
var tmp0_subject = this.g31_1;
|
|
2538
2644
|
var tmp;
|
|
2539
2645
|
if (tmp0_subject == null) {
|
|
@@ -2559,10 +2665,10 @@
|
|
|
2559
2665
|
tmp = wrap;
|
|
2560
2666
|
}
|
|
2561
2667
|
wrap = tmp;
|
|
2562
|
-
return $super === VOID ? this.
|
|
2668
|
+
return $super === VOID ? this.x3a(wrap) : $super.x3a.call(this, wrap);
|
|
2563
2669
|
};
|
|
2564
2670
|
protoOf(CloseToken).h31 = function (wrap) {
|
|
2565
|
-
var tmp0_safe_receiver = this.
|
|
2671
|
+
var tmp0_safe_receiver = this.x3a(wrap);
|
|
2566
2672
|
var tmp;
|
|
2567
2673
|
if (tmp0_safe_receiver == null) {
|
|
2568
2674
|
tmp = null;
|
|
@@ -2581,17 +2687,17 @@
|
|
|
2581
2687
|
}
|
|
2582
2688
|
function transferFromDelegate($this) {
|
|
2583
2689
|
updateConsumed($this);
|
|
2584
|
-
var appended = $this.
|
|
2585
|
-
$this.
|
|
2690
|
+
var appended = $this.z3a_1.w2x($this.y3a_1.f31());
|
|
2691
|
+
$this.a3b_1 = add($this.a3b_1, appended);
|
|
2586
2692
|
}
|
|
2587
2693
|
function updateConsumed($this) {
|
|
2588
|
-
$this.
|
|
2589
|
-
$this.
|
|
2694
|
+
$this.b3b_1 = add($this.b3b_1, subtract($this.a3b_1, $this.z3a_1.g1()));
|
|
2695
|
+
$this.a3b_1 = $this.z3a_1.g1();
|
|
2590
2696
|
}
|
|
2591
2697
|
function $awaitContentCOROUTINE$_0(_this__u8e3s4, min, resultContinuation) {
|
|
2592
2698
|
CoroutineImpl.call(this, resultContinuation);
|
|
2593
|
-
this.
|
|
2594
|
-
this.
|
|
2699
|
+
this.k3b_1 = _this__u8e3s4;
|
|
2700
|
+
this.l3b_1 = min;
|
|
2595
2701
|
}
|
|
2596
2702
|
protoOf($awaitContentCOROUTINE$_0).q9 = function () {
|
|
2597
2703
|
var suspendResult = this.k9_1;
|
|
@@ -2601,12 +2707,12 @@
|
|
|
2601
2707
|
switch (tmp) {
|
|
2602
2708
|
case 0:
|
|
2603
2709
|
this.j9_1 = 3;
|
|
2604
|
-
if (this.
|
|
2710
|
+
if (this.k3b_1.f31().g1() >= fromInt(this.l3b_1)) {
|
|
2605
2711
|
return true;
|
|
2606
2712
|
}
|
|
2607
2713
|
|
|
2608
2714
|
this.i9_1 = 1;
|
|
2609
|
-
suspendResult = this.y3a_1.
|
|
2715
|
+
suspendResult = this.k3b_1.y3a_1.n31(this.l3b_1, this);
|
|
2610
2716
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2611
2717
|
return suspendResult;
|
|
2612
2718
|
}
|
|
@@ -2614,7 +2720,7 @@
|
|
|
2614
2720
|
continue $sm;
|
|
2615
2721
|
case 1:
|
|
2616
2722
|
if (suspendResult) {
|
|
2617
|
-
transferFromDelegate(this.
|
|
2723
|
+
transferFromDelegate(this.k3b_1);
|
|
2618
2724
|
return true;
|
|
2619
2725
|
} else {
|
|
2620
2726
|
this.i9_1 = 2;
|
|
@@ -2638,24 +2744,24 @@
|
|
|
2638
2744
|
while (true);
|
|
2639
2745
|
};
|
|
2640
2746
|
function CountedByteReadChannel(delegate) {
|
|
2641
|
-
this.
|
|
2642
|
-
this.
|
|
2643
|
-
this.
|
|
2644
|
-
this.
|
|
2747
|
+
this.y3a_1 = delegate;
|
|
2748
|
+
this.z3a_1 = new Buffer();
|
|
2749
|
+
this.a3b_1 = 0n;
|
|
2750
|
+
this.b3b_1 = 0n;
|
|
2645
2751
|
}
|
|
2646
|
-
protoOf(CountedByteReadChannel).
|
|
2752
|
+
protoOf(CountedByteReadChannel).m3b = function () {
|
|
2647
2753
|
updateConsumed(this);
|
|
2648
|
-
return this.
|
|
2754
|
+
return this.b3b_1;
|
|
2649
2755
|
};
|
|
2650
2756
|
protoOf(CountedByteReadChannel).k31 = function () {
|
|
2651
|
-
return this.
|
|
2757
|
+
return this.y3a_1.k31();
|
|
2652
2758
|
};
|
|
2653
2759
|
protoOf(CountedByteReadChannel).m31 = function () {
|
|
2654
|
-
return this.
|
|
2760
|
+
return this.z3a_1.e2w() && this.y3a_1.m31();
|
|
2655
2761
|
};
|
|
2656
2762
|
protoOf(CountedByteReadChannel).f31 = function () {
|
|
2657
2763
|
transferFromDelegate(this);
|
|
2658
|
-
return this.
|
|
2764
|
+
return this.z3a_1;
|
|
2659
2765
|
};
|
|
2660
2766
|
protoOf(CountedByteReadChannel).n31 = function (min, $completion) {
|
|
2661
2767
|
var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
|
|
@@ -2664,8 +2770,8 @@
|
|
|
2664
2770
|
return tmp.q9();
|
|
2665
2771
|
};
|
|
2666
2772
|
protoOf(CountedByteReadChannel).q31 = function (cause) {
|
|
2667
|
-
this.
|
|
2668
|
-
this.
|
|
2773
|
+
this.y3a_1.q31(cause);
|
|
2774
|
+
this.z3a_1.t4();
|
|
2669
2775
|
};
|
|
2670
2776
|
function counted(_this__u8e3s4) {
|
|
2671
2777
|
return new CountedByteReadChannel(_this__u8e3s4);
|
|
@@ -2723,21 +2829,21 @@
|
|
|
2723
2829
|
}
|
|
2724
2830
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
2725
2831
|
var tmp;
|
|
2726
|
-
if ($this === Companion_getInstance_1().
|
|
2832
|
+
if ($this === Companion_getInstance_1().n3b_1) {
|
|
2727
2833
|
tmp = 'CR';
|
|
2728
|
-
} else if ($this === Companion_getInstance_1().
|
|
2834
|
+
} else if ($this === Companion_getInstance_1().o3b_1) {
|
|
2729
2835
|
tmp = 'LF';
|
|
2730
|
-
} else if ($this === Companion_getInstance_1().
|
|
2836
|
+
} else if ($this === Companion_getInstance_1().p3b_1) {
|
|
2731
2837
|
tmp = 'CRLF';
|
|
2732
2838
|
} else {
|
|
2733
2839
|
// Inline function 'kotlin.collections.filter' call
|
|
2734
|
-
var tmp0 = Companion_getInstance_1().
|
|
2840
|
+
var tmp0 = Companion_getInstance_1().r3b_1;
|
|
2735
2841
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2736
2842
|
var destination = ArrayList_init_$Create$();
|
|
2737
2843
|
var _iterator__ex2g4s = tmp0.t();
|
|
2738
2844
|
while (_iterator__ex2g4s.u()) {
|
|
2739
2845
|
var element = _iterator__ex2g4s.v();
|
|
2740
|
-
var it = element.
|
|
2846
|
+
var it = element.s3b_1;
|
|
2741
2847
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2742
2848
|
destination.e1(element);
|
|
2743
2849
|
}
|
|
@@ -2748,11 +2854,11 @@
|
|
|
2748
2854
|
}
|
|
2749
2855
|
function Companion_1() {
|
|
2750
2856
|
Companion_instance_2 = this;
|
|
2751
|
-
this.
|
|
2752
|
-
this.
|
|
2753
|
-
this.
|
|
2754
|
-
this.
|
|
2755
|
-
this.
|
|
2857
|
+
this.n3b_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2858
|
+
this.o3b_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2859
|
+
this.p3b_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2860
|
+
this.q3b_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2861
|
+
this.r3b_1 = listOf([new LineEndingMode(this.n3b_1), new LineEndingMode(this.o3b_1), new LineEndingMode(this.p3b_1)]);
|
|
2756
2862
|
}
|
|
2757
2863
|
var Companion_instance_2;
|
|
2758
2864
|
function Companion_getInstance_1() {
|
|
@@ -2766,33 +2872,33 @@
|
|
|
2766
2872
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
2767
2873
|
if (!(other instanceof LineEndingMode))
|
|
2768
2874
|
return false;
|
|
2769
|
-
if (!($this === other.
|
|
2875
|
+
if (!($this === other.s3b_1))
|
|
2770
2876
|
return false;
|
|
2771
2877
|
return true;
|
|
2772
2878
|
}
|
|
2773
2879
|
function LineEndingMode(mode) {
|
|
2774
2880
|
Companion_getInstance_1();
|
|
2775
|
-
this.
|
|
2881
|
+
this.s3b_1 = mode;
|
|
2776
2882
|
}
|
|
2777
2883
|
protoOf(LineEndingMode).toString = function () {
|
|
2778
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2884
|
+
return LineEndingMode__toString_impl_j4h76r(this.s3b_1);
|
|
2779
2885
|
};
|
|
2780
2886
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2781
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2887
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.s3b_1);
|
|
2782
2888
|
};
|
|
2783
2889
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2784
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2890
|
+
return LineEndingMode__equals_impl_qyr4nk(this.s3b_1, other);
|
|
2785
2891
|
};
|
|
2786
2892
|
function SourceByteReadChannel(source) {
|
|
2787
|
-
this.
|
|
2788
|
-
this.
|
|
2893
|
+
this.t3b_1 = source;
|
|
2894
|
+
this.u3b_1 = null;
|
|
2789
2895
|
}
|
|
2790
2896
|
protoOf(SourceByteReadChannel).k31 = function () {
|
|
2791
|
-
var tmp0_safe_receiver = this.
|
|
2897
|
+
var tmp0_safe_receiver = this.u3b_1;
|
|
2792
2898
|
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l31();
|
|
2793
2899
|
};
|
|
2794
2900
|
protoOf(SourceByteReadChannel).m31 = function () {
|
|
2795
|
-
return this.
|
|
2901
|
+
return this.t3b_1.e2w();
|
|
2796
2902
|
};
|
|
2797
2903
|
protoOf(SourceByteReadChannel).f31 = function () {
|
|
2798
2904
|
var tmp0_safe_receiver = this.k31();
|
|
@@ -2802,7 +2908,7 @@
|
|
|
2802
2908
|
// Inline function 'kotlin.let' call
|
|
2803
2909
|
throw tmp0_safe_receiver;
|
|
2804
2910
|
}
|
|
2805
|
-
return this.
|
|
2911
|
+
return this.t3b_1.d2w();
|
|
2806
2912
|
};
|
|
2807
2913
|
protoOf(SourceByteReadChannel).n31 = function (min, $completion) {
|
|
2808
2914
|
var tmp0_safe_receiver = this.k31();
|
|
@@ -2812,15 +2918,15 @@
|
|
|
2812
2918
|
// Inline function 'kotlin.let' call
|
|
2813
2919
|
throw tmp0_safe_receiver;
|
|
2814
2920
|
}
|
|
2815
|
-
return this.
|
|
2921
|
+
return this.t3b_1.g2w(fromInt(min));
|
|
2816
2922
|
};
|
|
2817
2923
|
protoOf(SourceByteReadChannel).q31 = function (cause) {
|
|
2818
|
-
if (!(this.
|
|
2924
|
+
if (!(this.u3b_1 == null))
|
|
2819
2925
|
return Unit_instance;
|
|
2820
|
-
this.
|
|
2926
|
+
this.t3b_1.t4();
|
|
2821
2927
|
var tmp = this;
|
|
2822
2928
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2823
|
-
tmp.
|
|
2929
|
+
tmp.u3b_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
2824
2930
|
};
|
|
2825
2931
|
function decode(_this__u8e3s4, input, max) {
|
|
2826
2932
|
max = max === VOID ? 2147483647 : max;
|
|
@@ -2888,11 +2994,6 @@
|
|
|
2888
2994
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2889
2995
|
return _this__u8e3s4.d2w().g1();
|
|
2890
2996
|
}
|
|
2891
|
-
function takeWhile(_this__u8e3s4, block) {
|
|
2892
|
-
_init_properties_ByteReadPacket_kt__28475y();
|
|
2893
|
-
while (!_this__u8e3s4.e2w() && block(_this__u8e3s4.d2w())) {
|
|
2894
|
-
}
|
|
2895
|
-
}
|
|
2896
2997
|
function discard_0(_this__u8e3s4, count) {
|
|
2897
2998
|
count = count === VOID ? 9223372036854775807n : count;
|
|
2898
2999
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
@@ -2903,6 +3004,11 @@
|
|
|
2903
3004
|
_this__u8e3s4.d2w().b2x(countToDiscard);
|
|
2904
3005
|
return countToDiscard;
|
|
2905
3006
|
}
|
|
3007
|
+
function takeWhile(_this__u8e3s4, block) {
|
|
3008
|
+
_init_properties_ByteReadPacket_kt__28475y();
|
|
3009
|
+
while (!_this__u8e3s4.e2w() && block(_this__u8e3s4.d2w())) {
|
|
3010
|
+
}
|
|
3011
|
+
}
|
|
2906
3012
|
var properties_initialized_ByteReadPacket_kt_hw4st4;
|
|
2907
3013
|
function _init_properties_ByteReadPacket_kt__28475y() {
|
|
2908
3014
|
if (!properties_initialized_ByteReadPacket_kt_hw4st4) {
|
|
@@ -2916,10 +3022,22 @@
|
|
|
2916
3022
|
var result = _this__u8e3s4.c2x(buffer, offset, offset + length | 0);
|
|
2917
3023
|
return result === -1 ? 0 : result;
|
|
2918
3024
|
}
|
|
3025
|
+
function readBytes_0(_this__u8e3s4) {
|
|
3026
|
+
return readByteArray_0(_this__u8e3s4);
|
|
3027
|
+
}
|
|
3028
|
+
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
3029
|
+
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
3030
|
+
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
3031
|
+
charset = charset === VOID ? Charsets_getInstance().v3b_1 : charset;
|
|
3032
|
+
if (charset === Charsets_getInstance().v3b_1) {
|
|
3033
|
+
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
3034
|
+
}
|
|
3035
|
+
encodeToImpl(charset.y3b(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
3036
|
+
}
|
|
2919
3037
|
function readText_0(_this__u8e3s4, charset, max) {
|
|
2920
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
3038
|
+
charset = charset === VOID ? Charsets_getInstance().v3b_1 : charset;
|
|
2921
3039
|
max = max === VOID ? 2147483647 : max;
|
|
2922
|
-
if (charset.equals(Charsets_getInstance().
|
|
3040
|
+
if (charset.equals(Charsets_getInstance().v3b_1)) {
|
|
2923
3041
|
if (max === 2147483647)
|
|
2924
3042
|
return readString_0(_this__u8e3s4);
|
|
2925
3043
|
var tmp0 = _this__u8e3s4.d2w().g1();
|
|
@@ -2928,25 +3046,13 @@
|
|
|
2928
3046
|
var count = tmp0 <= b ? tmp0 : b;
|
|
2929
3047
|
return readString(_this__u8e3s4, count);
|
|
2930
3048
|
}
|
|
2931
|
-
return decode(charset.
|
|
3049
|
+
return decode(charset.z3b(), _this__u8e3s4, max);
|
|
2932
3050
|
}
|
|
2933
3051
|
function toByteArray_0(_this__u8e3s4, charset) {
|
|
2934
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2935
|
-
if (charset.equals(Charsets_getInstance().
|
|
3052
|
+
charset = charset === VOID ? Charsets_getInstance().v3b_1 : charset;
|
|
3053
|
+
if (charset.equals(Charsets_getInstance().v3b_1))
|
|
2936
3054
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
2937
|
-
return encodeToByteArray_0(charset.
|
|
2938
|
-
}
|
|
2939
|
-
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
2940
|
-
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
2941
|
-
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
2942
|
-
charset = charset === VOID ? Charsets_getInstance().j3b_1 : charset;
|
|
2943
|
-
if (charset === Charsets_getInstance().j3b_1) {
|
|
2944
|
-
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
2945
|
-
}
|
|
2946
|
-
encodeToImpl(charset.n3b(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
2947
|
-
}
|
|
2948
|
-
function readBytes_0(_this__u8e3s4) {
|
|
2949
|
-
return readByteArray_0(_this__u8e3s4);
|
|
3055
|
+
return encodeToByteArray_0(charset.y3b(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
2950
3056
|
}
|
|
2951
3057
|
function get_ByteArrayPool() {
|
|
2952
3058
|
_init_properties_ByteArrayPool_kt__kfi3uj();
|
|
@@ -2956,7 +3062,7 @@
|
|
|
2956
3062
|
function ByteArrayPool$1() {
|
|
2957
3063
|
DefaultPool.call(this, 128);
|
|
2958
3064
|
}
|
|
2959
|
-
protoOf(ByteArrayPool$1).
|
|
3065
|
+
protoOf(ByteArrayPool$1).d3c = function () {
|
|
2960
3066
|
return new Int8Array(4096);
|
|
2961
3067
|
};
|
|
2962
3068
|
var properties_initialized_ByteArrayPool_kt_td6pfh;
|
|
@@ -2970,7 +3076,7 @@
|
|
|
2970
3076
|
}
|
|
2971
3077
|
function NoPoolImpl() {
|
|
2972
3078
|
}
|
|
2973
|
-
protoOf(NoPoolImpl).
|
|
3079
|
+
protoOf(NoPoolImpl).l3c = function (instance) {
|
|
2974
3080
|
return Unit_instance;
|
|
2975
3081
|
};
|
|
2976
3082
|
protoOf(NoPoolImpl).a29 = function () {
|
|
@@ -2978,13 +3084,13 @@
|
|
|
2978
3084
|
};
|
|
2979
3085
|
function Companion_2() {
|
|
2980
3086
|
}
|
|
2981
|
-
protoOf(Companion_2).
|
|
3087
|
+
protoOf(Companion_2).m3c = function (name) {
|
|
2982
3088
|
switch (name) {
|
|
2983
3089
|
case 'UTF-8':
|
|
2984
3090
|
case 'utf-8':
|
|
2985
3091
|
case 'UTF8':
|
|
2986
3092
|
case 'utf8':
|
|
2987
|
-
return Charsets_getInstance().
|
|
3093
|
+
return Charsets_getInstance().v3b_1;
|
|
2988
3094
|
}
|
|
2989
3095
|
var tmp;
|
|
2990
3096
|
var tmp_0;
|
|
@@ -3015,11 +3121,11 @@
|
|
|
3015
3121
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
3016
3122
|
}
|
|
3017
3123
|
if (tmp) {
|
|
3018
|
-
return Charsets_getInstance().
|
|
3124
|
+
return Charsets_getInstance().w3b_1;
|
|
3019
3125
|
}
|
|
3020
3126
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
3021
3127
|
};
|
|
3022
|
-
protoOf(Companion_2).
|
|
3128
|
+
protoOf(Companion_2).n3c = function (charset) {
|
|
3023
3129
|
var tmp;
|
|
3024
3130
|
switch (charset) {
|
|
3025
3131
|
case 'UTF-8':
|
|
@@ -3074,7 +3180,7 @@
|
|
|
3074
3180
|
return Companion_instance_3;
|
|
3075
3181
|
}
|
|
3076
3182
|
function Charset(_name) {
|
|
3077
|
-
this.
|
|
3183
|
+
this.x3b_1 = _name;
|
|
3078
3184
|
}
|
|
3079
3185
|
protoOf(Charset).equals = function (other) {
|
|
3080
3186
|
if (this === other)
|
|
@@ -3083,18 +3189,18 @@
|
|
|
3083
3189
|
return false;
|
|
3084
3190
|
if (!(other instanceof Charset))
|
|
3085
3191
|
THROW_CCE();
|
|
3086
|
-
return this.
|
|
3192
|
+
return this.x3b_1 === other.x3b_1;
|
|
3087
3193
|
};
|
|
3088
3194
|
protoOf(Charset).hashCode = function () {
|
|
3089
|
-
return getStringHashCode(this.
|
|
3195
|
+
return getStringHashCode(this.x3b_1);
|
|
3090
3196
|
};
|
|
3091
3197
|
protoOf(Charset).toString = function () {
|
|
3092
|
-
return this.
|
|
3198
|
+
return this.x3b_1;
|
|
3093
3199
|
};
|
|
3094
3200
|
function Charsets() {
|
|
3095
3201
|
Charsets_instance = this;
|
|
3096
|
-
this.
|
|
3097
|
-
this.
|
|
3202
|
+
this.v3b_1 = new CharsetImpl('UTF-8');
|
|
3203
|
+
this.w3b_1 = new CharsetImpl('ISO-8859-1');
|
|
3098
3204
|
}
|
|
3099
3205
|
var Charsets_instance;
|
|
3100
3206
|
function Charsets_getInstance() {
|
|
@@ -3103,23 +3209,23 @@
|
|
|
3103
3209
|
return Charsets_instance;
|
|
3104
3210
|
}
|
|
3105
3211
|
function CharsetDecoder(_charset) {
|
|
3106
|
-
this.
|
|
3212
|
+
this.o3c_1 = _charset;
|
|
3107
3213
|
}
|
|
3108
3214
|
function MalformedInputException(message) {
|
|
3109
3215
|
IOException_init_$Init$_0(message, this);
|
|
3110
3216
|
captureStack(this, MalformedInputException);
|
|
3111
3217
|
}
|
|
3112
3218
|
function get_name(_this__u8e3s4) {
|
|
3113
|
-
return _this__u8e3s4.
|
|
3219
|
+
return _this__u8e3s4.x3b_1;
|
|
3114
3220
|
}
|
|
3115
3221
|
function isSupported(_this__u8e3s4, name) {
|
|
3116
|
-
return Companion_instance_3.
|
|
3222
|
+
return Companion_instance_3.n3c(name);
|
|
3117
3223
|
}
|
|
3118
3224
|
function forName(_this__u8e3s4, name) {
|
|
3119
|
-
return Companion_instance_3.
|
|
3225
|
+
return Companion_instance_3.m3c(name);
|
|
3120
3226
|
}
|
|
3121
3227
|
function CharsetEncoder(_charset) {
|
|
3122
|
-
this.
|
|
3228
|
+
this.p3c_1 = _charset;
|
|
3123
3229
|
}
|
|
3124
3230
|
function decode_0(_this__u8e3s4, input, dst, max) {
|
|
3125
3231
|
var decoder = Decoder(get_name(get_charset(_this__u8e3s4)), true);
|
|
@@ -3133,7 +3239,7 @@
|
|
|
3133
3239
|
// Inline function 'org.khronos.webgl.toInt8Array' call
|
|
3134
3240
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3135
3241
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3136
|
-
tmp = decoder.
|
|
3242
|
+
tmp = decoder.q3c(array);
|
|
3137
3243
|
} catch ($p) {
|
|
3138
3244
|
var tmp_0;
|
|
3139
3245
|
if ($p instanceof Error) {
|
|
@@ -3155,11 +3261,11 @@
|
|
|
3155
3261
|
var message = 'Failed requirement.';
|
|
3156
3262
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
3157
3263
|
}
|
|
3158
|
-
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().
|
|
3264
|
+
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().w3b_1)) {
|
|
3159
3265
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
3160
3266
|
}
|
|
3161
3267
|
// Inline function 'kotlin.require' call
|
|
3162
|
-
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().
|
|
3268
|
+
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().v3b_1)) {
|
|
3163
3269
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
3164
3270
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
3165
3271
|
}
|
|
@@ -3180,17 +3286,17 @@
|
|
|
3180
3286
|
function CharsetImpl(name) {
|
|
3181
3287
|
Charset.call(this, name);
|
|
3182
3288
|
}
|
|
3183
|
-
protoOf(CharsetImpl).
|
|
3289
|
+
protoOf(CharsetImpl).y3b = function () {
|
|
3184
3290
|
return new CharsetEncoderImpl(this);
|
|
3185
3291
|
};
|
|
3186
|
-
protoOf(CharsetImpl).
|
|
3292
|
+
protoOf(CharsetImpl).z3b = function () {
|
|
3187
3293
|
return new CharsetDecoderImpl(this);
|
|
3188
3294
|
};
|
|
3189
3295
|
function get_charset(_this__u8e3s4) {
|
|
3190
|
-
return _this__u8e3s4.
|
|
3296
|
+
return _this__u8e3s4.o3c_1;
|
|
3191
3297
|
}
|
|
3192
3298
|
function get_charset_0(_this__u8e3s4) {
|
|
3193
|
-
return _this__u8e3s4.
|
|
3299
|
+
return _this__u8e3s4.p3c_1;
|
|
3194
3300
|
}
|
|
3195
3301
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
3196
3302
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -3209,39 +3315,39 @@
|
|
|
3209
3315
|
}
|
|
3210
3316
|
function CharsetEncoderImpl(charset) {
|
|
3211
3317
|
CharsetEncoder.call(this, charset);
|
|
3212
|
-
this.
|
|
3318
|
+
this.t3c_1 = charset;
|
|
3213
3319
|
}
|
|
3214
3320
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
3215
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
3321
|
+
return 'CharsetEncoderImpl(charset=' + this.t3c_1.toString() + ')';
|
|
3216
3322
|
};
|
|
3217
3323
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
3218
|
-
return this.
|
|
3324
|
+
return this.t3c_1.hashCode();
|
|
3219
3325
|
};
|
|
3220
3326
|
protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
3221
3327
|
if (this === other)
|
|
3222
3328
|
return true;
|
|
3223
3329
|
if (!(other instanceof CharsetEncoderImpl))
|
|
3224
3330
|
return false;
|
|
3225
|
-
if (!this.
|
|
3331
|
+
if (!this.t3c_1.equals(other.t3c_1))
|
|
3226
3332
|
return false;
|
|
3227
3333
|
return true;
|
|
3228
3334
|
};
|
|
3229
3335
|
function CharsetDecoderImpl(charset) {
|
|
3230
3336
|
CharsetDecoder.call(this, charset);
|
|
3231
|
-
this.
|
|
3337
|
+
this.v3c_1 = charset;
|
|
3232
3338
|
}
|
|
3233
3339
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
3234
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
3340
|
+
return 'CharsetDecoderImpl(charset=' + this.v3c_1.toString() + ')';
|
|
3235
3341
|
};
|
|
3236
3342
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
3237
|
-
return this.
|
|
3343
|
+
return this.v3c_1.hashCode();
|
|
3238
3344
|
};
|
|
3239
3345
|
protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
3240
3346
|
if (this === other)
|
|
3241
3347
|
return true;
|
|
3242
3348
|
if (!(other instanceof CharsetDecoderImpl))
|
|
3243
3349
|
return false;
|
|
3244
|
-
if (!this.
|
|
3350
|
+
if (!this.v3c_1.equals(other.v3c_1))
|
|
3245
3351
|
return false;
|
|
3246
3352
|
return true;
|
|
3247
3353
|
};
|
|
@@ -3275,10 +3381,10 @@
|
|
|
3275
3381
|
return this_0;
|
|
3276
3382
|
}
|
|
3277
3383
|
function toKtor$1($this_toKtor) {
|
|
3278
|
-
this.
|
|
3384
|
+
this.w3c_1 = $this_toKtor;
|
|
3279
3385
|
}
|
|
3280
|
-
protoOf(toKtor$1).
|
|
3281
|
-
return this.
|
|
3386
|
+
protoOf(toKtor$1).q3c = function (buffer) {
|
|
3387
|
+
return this.w3c_1.decode(buffer);
|
|
3282
3388
|
};
|
|
3283
3389
|
function get_ENCODING_ALIASES() {
|
|
3284
3390
|
_init_properties_TextDecoderFallback_js_kt__an7r6m();
|
|
@@ -3291,7 +3397,7 @@
|
|
|
3291
3397
|
}
|
|
3292
3398
|
var REPLACEMENT;
|
|
3293
3399
|
function TextDecoderFallback(encoding, fatal) {
|
|
3294
|
-
this.
|
|
3400
|
+
this.x3c_1 = fatal;
|
|
3295
3401
|
// Inline function 'kotlin.text.trim' call
|
|
3296
3402
|
// Inline function 'kotlin.text.lowercase' call
|
|
3297
3403
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3302,7 +3408,7 @@
|
|
|
3302
3408
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3303
3409
|
}
|
|
3304
3410
|
}
|
|
3305
|
-
protoOf(TextDecoderFallback).
|
|
3411
|
+
protoOf(TextDecoderFallback).q3c = function (buffer) {
|
|
3306
3412
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3307
3413
|
var builder = new Buffer();
|
|
3308
3414
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -3318,7 +3424,7 @@
|
|
|
3318
3424
|
var point = toCodePoint(byte);
|
|
3319
3425
|
if (point < 0) {
|
|
3320
3426
|
// Inline function 'kotlin.check' call
|
|
3321
|
-
if (!!this.
|
|
3427
|
+
if (!!this.x3c_1) {
|
|
3322
3428
|
var message = 'Invalid character: ' + point;
|
|
3323
3429
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3324
3430
|
}
|
|
@@ -3396,54 +3502,54 @@
|
|
|
3396
3502
|
}
|
|
3397
3503
|
}
|
|
3398
3504
|
function DefaultPool(capacity) {
|
|
3399
|
-
this.
|
|
3505
|
+
this.e3c_1 = capacity;
|
|
3400
3506
|
var tmp = this;
|
|
3401
3507
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3402
|
-
var size = this.
|
|
3403
|
-
tmp.
|
|
3404
|
-
this.
|
|
3508
|
+
var size = this.e3c_1;
|
|
3509
|
+
tmp.f3c_1 = Array(size);
|
|
3510
|
+
this.g3c_1 = 0;
|
|
3405
3511
|
}
|
|
3406
|
-
protoOf(DefaultPool).
|
|
3512
|
+
protoOf(DefaultPool).h3c = function (instance) {
|
|
3407
3513
|
};
|
|
3408
|
-
protoOf(DefaultPool).
|
|
3514
|
+
protoOf(DefaultPool).i3c = function (instance) {
|
|
3409
3515
|
return instance;
|
|
3410
3516
|
};
|
|
3411
|
-
protoOf(DefaultPool).
|
|
3517
|
+
protoOf(DefaultPool).j3c = function (instance) {
|
|
3412
3518
|
};
|
|
3413
|
-
protoOf(DefaultPool).
|
|
3414
|
-
if (this.
|
|
3415
|
-
return this.
|
|
3416
|
-
this.
|
|
3417
|
-
var idx = this.
|
|
3418
|
-
var tmp = this.
|
|
3519
|
+
protoOf(DefaultPool).k3c = function () {
|
|
3520
|
+
if (this.g3c_1 === 0)
|
|
3521
|
+
return this.d3c();
|
|
3522
|
+
this.g3c_1 = this.g3c_1 - 1 | 0;
|
|
3523
|
+
var idx = this.g3c_1;
|
|
3524
|
+
var tmp = this.f3c_1[idx];
|
|
3419
3525
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3420
|
-
this.
|
|
3421
|
-
return this.
|
|
3526
|
+
this.f3c_1[idx] = null;
|
|
3527
|
+
return this.i3c(instance);
|
|
3422
3528
|
};
|
|
3423
|
-
protoOf(DefaultPool).
|
|
3424
|
-
this.
|
|
3425
|
-
if (this.
|
|
3426
|
-
this.
|
|
3529
|
+
protoOf(DefaultPool).l3c = function (instance) {
|
|
3530
|
+
this.j3c(instance);
|
|
3531
|
+
if (this.g3c_1 === this.e3c_1) {
|
|
3532
|
+
this.h3c(instance);
|
|
3427
3533
|
} else {
|
|
3428
|
-
var _unary__edvuaz = this.
|
|
3429
|
-
this.
|
|
3430
|
-
this.
|
|
3534
|
+
var _unary__edvuaz = this.g3c_1;
|
|
3535
|
+
this.g3c_1 = _unary__edvuaz + 1 | 0;
|
|
3536
|
+
this.f3c_1[_unary__edvuaz] = instance;
|
|
3431
3537
|
}
|
|
3432
3538
|
};
|
|
3433
3539
|
protoOf(DefaultPool).a29 = function () {
|
|
3434
3540
|
var inductionVariable = 0;
|
|
3435
|
-
var last = this.
|
|
3541
|
+
var last = this.g3c_1;
|
|
3436
3542
|
if (inductionVariable < last)
|
|
3437
3543
|
do {
|
|
3438
3544
|
var i = inductionVariable;
|
|
3439
3545
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3440
|
-
var tmp = this.
|
|
3546
|
+
var tmp = this.f3c_1[i];
|
|
3441
3547
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3442
|
-
this.
|
|
3443
|
-
this.
|
|
3548
|
+
this.f3c_1[i] = null;
|
|
3549
|
+
this.h3c(instance);
|
|
3444
3550
|
}
|
|
3445
3551
|
while (inductionVariable < last);
|
|
3446
|
-
this.
|
|
3552
|
+
this.g3c_1 = 0;
|
|
3447
3553
|
};
|
|
3448
3554
|
//region block: post-declaration
|
|
3449
3555
|
protoOf(Read).i2z = resume;
|
|
@@ -3464,55 +3570,57 @@
|
|
|
3464
3570
|
//region block: exports
|
|
3465
3571
|
_.$_$ = _.$_$ || {};
|
|
3466
3572
|
_.$_$.a = copyTo;
|
|
3467
|
-
_.$_$.b =
|
|
3468
|
-
_.$_$.c =
|
|
3469
|
-
_.$_$.d =
|
|
3470
|
-
_.$_$.e =
|
|
3471
|
-
_.$_$.f =
|
|
3472
|
-
_.$_$.g =
|
|
3473
|
-
_.$_$.h =
|
|
3474
|
-
_.$_$.i =
|
|
3475
|
-
_.$_$.j =
|
|
3476
|
-
_.$_$.k =
|
|
3477
|
-
_.$_$.l =
|
|
3478
|
-
_.$_$.m =
|
|
3479
|
-
_.$_$.n =
|
|
3480
|
-
_.$_$.o =
|
|
3481
|
-
_.$_$.p =
|
|
3482
|
-
_.$_$.q =
|
|
3483
|
-
_.$_$.r =
|
|
3484
|
-
_.$_$.s =
|
|
3485
|
-
_.$_$.t =
|
|
3486
|
-
_.$_$.u =
|
|
3487
|
-
_.$_$.v =
|
|
3488
|
-
_.$_$.w =
|
|
3489
|
-
_.$_$.x =
|
|
3490
|
-
_.$_$.y =
|
|
3491
|
-
_.$_$.z =
|
|
3492
|
-
_.$_$.a1 =
|
|
3493
|
-
_.$_$.b1 =
|
|
3494
|
-
_.$_$.c1 =
|
|
3495
|
-
_.$_$.d1 =
|
|
3496
|
-
_.$_$.e1 =
|
|
3497
|
-
_.$_$.f1 =
|
|
3498
|
-
_.$_$.g1 =
|
|
3499
|
-
_.$_$.h1 =
|
|
3500
|
-
_.$_$.i1 =
|
|
3501
|
-
_.$_$.j1 =
|
|
3502
|
-
_.$_$.k1 =
|
|
3503
|
-
_.$_$.l1 =
|
|
3504
|
-
_.$_$.m1 =
|
|
3505
|
-
_.$_$.n1 =
|
|
3506
|
-
_.$_$.o1 =
|
|
3507
|
-
_.$_$.p1 =
|
|
3508
|
-
_.$_$.q1 =
|
|
3509
|
-
_.$_$.r1 =
|
|
3510
|
-
_.$_$.s1 =
|
|
3511
|
-
_.$_$.t1 =
|
|
3512
|
-
_.$_$.u1 =
|
|
3513
|
-
_.$_$.v1 =
|
|
3514
|
-
_.$_$.w1 =
|
|
3515
|
-
_.$_$.x1 =
|
|
3573
|
+
_.$_$.b = copyTo_0;
|
|
3574
|
+
_.$_$.c = discard;
|
|
3575
|
+
_.$_$.d = readAvailable;
|
|
3576
|
+
_.$_$.e = readBuffer;
|
|
3577
|
+
_.$_$.f = readLineStrictTo;
|
|
3578
|
+
_.$_$.g = readPacket;
|
|
3579
|
+
_.$_$.h = readRemaining;
|
|
3580
|
+
_.$_$.i = readRemaining_0;
|
|
3581
|
+
_.$_$.j = readUntil;
|
|
3582
|
+
_.$_$.k = skipIfFound;
|
|
3583
|
+
_.$_$.l = toByteArray;
|
|
3584
|
+
_.$_$.m = writeFully;
|
|
3585
|
+
_.$_$.n = writePacket;
|
|
3586
|
+
_.$_$.o = LineEndingMode__plus_impl_ttpz2j;
|
|
3587
|
+
_.$_$.p = Charsets_getInstance;
|
|
3588
|
+
_.$_$.q = Companion_getInstance_0;
|
|
3589
|
+
_.$_$.r = Companion_getInstance_1;
|
|
3590
|
+
_.$_$.s = MalformedInputException;
|
|
3591
|
+
_.$_$.t = decode;
|
|
3592
|
+
_.$_$.u = encode;
|
|
3593
|
+
_.$_$.v = forName;
|
|
3594
|
+
_.$_$.w = isSupported;
|
|
3595
|
+
_.$_$.x = get_name;
|
|
3596
|
+
_.$_$.y = BytePacketBuilder;
|
|
3597
|
+
_.$_$.z = build;
|
|
3598
|
+
_.$_$.a1 = canRead;
|
|
3599
|
+
_.$_$.b1 = discard_0;
|
|
3600
|
+
_.$_$.c1 = readAvailable_0;
|
|
3601
|
+
_.$_$.d1 = readBytes_0;
|
|
3602
|
+
_.$_$.e1 = readText_0;
|
|
3603
|
+
_.$_$.f1 = get_remaining;
|
|
3604
|
+
_.$_$.g1 = get_size;
|
|
3605
|
+
_.$_$.h1 = takeWhile;
|
|
3606
|
+
_.$_$.i1 = toByteArray_0;
|
|
3607
|
+
_.$_$.j1 = writeFully_0;
|
|
3608
|
+
_.$_$.k1 = writeText;
|
|
3609
|
+
_.$_$.l1 = get_ByteArrayPool;
|
|
3610
|
+
_.$_$.m1 = DefaultPool;
|
|
3611
|
+
_.$_$.n1 = NoPoolImpl;
|
|
3612
|
+
_.$_$.o1 = ByteChannel;
|
|
3613
|
+
_.$_$.p1 = ByteReadChannel;
|
|
3614
|
+
_.$_$.q1 = ByteReadChannel_1;
|
|
3615
|
+
_.$_$.r1 = ClosedByteChannelException;
|
|
3616
|
+
_.$_$.s1 = WriterScope;
|
|
3617
|
+
_.$_$.t1 = cancel_0;
|
|
3618
|
+
_.$_$.u1 = close_0;
|
|
3619
|
+
_.$_$.v1 = counted;
|
|
3620
|
+
_.$_$.w1 = invokeOnCompletion;
|
|
3621
|
+
_.$_$.x1 = ioDispatcher;
|
|
3622
|
+
_.$_$.y1 = readText;
|
|
3623
|
+
_.$_$.z1 = writer;
|
|
3516
3624
|
//endregion
|
|
3517
3625
|
return _;
|
|
3518
3626
|
}));
|