@attocash/commons-js 5.0.0 → 5.1.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/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
- package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
- package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
- package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
- package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
- package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
- package/package.json +1 -1
|
@@ -106,7 +106,7 @@ function $flushAndCloseCOROUTINE$() {
|
|
|
106
106
|
class $ extends CoroutineImpl() {
|
|
107
107
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
108
108
|
super(resultContinuation);
|
|
109
|
-
this.
|
|
109
|
+
this.w3g_1 = _this__u8e3s4;
|
|
110
110
|
}
|
|
111
111
|
ic() {
|
|
112
112
|
var suspendResult = this.cc_1;
|
|
@@ -116,25 +116,25 @@ function $flushAndCloseCOROUTINE$() {
|
|
|
116
116
|
switch (tmp) {
|
|
117
117
|
case 0:
|
|
118
118
|
this.bc_1 = 5;
|
|
119
|
-
cancelChildren(this.
|
|
119
|
+
cancelChildren(this.w3g_1.e3h_1);
|
|
120
120
|
var tmp_0 = this;
|
|
121
|
-
tmp_0.
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
121
|
+
tmp_0.x3g_1 = this.w3g_1.e3h_1.l1z();
|
|
122
|
+
this.y3g_1 = this.x3g_1;
|
|
123
|
+
this.z3g_1 = this.y3g_1.d1();
|
|
124
124
|
this.ac_1 = 1;
|
|
125
125
|
continue $sm;
|
|
126
126
|
case 1:
|
|
127
|
-
if (!this.
|
|
127
|
+
if (!this.z3g_1.e1()) {
|
|
128
128
|
this.ac_1 = 3;
|
|
129
129
|
continue $sm;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
this.
|
|
132
|
+
this.a3h_1 = this.z3g_1.f1();
|
|
133
133
|
var tmp_1 = this;
|
|
134
|
-
tmp_1.
|
|
135
|
-
this.
|
|
134
|
+
tmp_1.b3h_1 = this.a3h_1;
|
|
135
|
+
this.c3h_1 = this.b3h_1;
|
|
136
136
|
this.ac_1 = 2;
|
|
137
|
-
suspendResult = this.
|
|
137
|
+
suspendResult = this.c3h_1.z1y(this);
|
|
138
138
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
139
139
|
return suspendResult;
|
|
140
140
|
}
|
|
@@ -145,7 +145,7 @@ function $flushAndCloseCOROUTINE$() {
|
|
|
145
145
|
continue $sm;
|
|
146
146
|
case 3:
|
|
147
147
|
this.ac_1 = 4;
|
|
148
|
-
suspendResult = this.
|
|
148
|
+
suspendResult = this.w3g_1.d3h_1.k3b(this);
|
|
149
149
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
150
150
|
return suspendResult;
|
|
151
151
|
}
|
|
@@ -178,13 +178,13 @@ function ReaderJob() {
|
|
|
178
178
|
if (ReaderJobClass === VOID) {
|
|
179
179
|
class $ {
|
|
180
180
|
constructor(channel, job) {
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
181
|
+
this.d3h_1 = channel;
|
|
182
|
+
this.e3h_1 = job;
|
|
183
183
|
}
|
|
184
184
|
i24() {
|
|
185
|
-
return this.
|
|
185
|
+
return this.e3h_1;
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
k3b($completion) {
|
|
188
188
|
var tmp = new ($flushAndCloseCOROUTINE$())(this, $completion);
|
|
189
189
|
tmp.cc_1 = Unit_instance;
|
|
190
190
|
tmp.dc_1 = null;
|
|
@@ -206,11 +206,11 @@ function ReaderScope() {
|
|
|
206
206
|
if (ReaderScopeClass === VOID) {
|
|
207
207
|
class $ {
|
|
208
208
|
constructor(channel, coroutineContext) {
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
209
|
+
this.f3h_1 = channel;
|
|
210
|
+
this.g3h_1 = coroutineContext;
|
|
211
211
|
}
|
|
212
212
|
s1x() {
|
|
213
|
-
return this.
|
|
213
|
+
return this.g3h_1;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
initMetadataForClass($, 'ReaderScope', VOID, VOID, [CoroutineScope()]);
|
|
@@ -219,7 +219,7 @@ function ReaderScope() {
|
|
|
219
219
|
return ReaderScopeClass;
|
|
220
220
|
}
|
|
221
221
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
222
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
222
|
+
var tmp0_safe_receiver = _this__u8e3s4.f3b();
|
|
223
223
|
if (tmp0_safe_receiver == null)
|
|
224
224
|
null;
|
|
225
225
|
else {
|
|
@@ -228,11 +228,11 @@ function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
function get_availableForRead(_this__u8e3s4) {
|
|
231
|
-
return _this__u8e3s4.
|
|
231
|
+
return _this__u8e3s4.a3b().n2r().i1().c2();
|
|
232
232
|
}
|
|
233
233
|
function readUTF8LineTo(_this__u8e3s4, out, max, $completion) {
|
|
234
234
|
max = max === VOID ? 2147483647 : max;
|
|
235
|
-
return readUTF8LineTo_0(_this__u8e3s4, out, max, Companion_getInstance().
|
|
235
|
+
return readUTF8LineTo_0(_this__u8e3s4, out, max, Companion_getInstance().k3h_1, $completion);
|
|
236
236
|
}
|
|
237
237
|
function readBuffer(_this__u8e3s4, $completion) {
|
|
238
238
|
var tmp = new ($readBufferCOROUTINE$())(_this__u8e3s4, $completion);
|
|
@@ -249,14 +249,14 @@ function reader_0(_this__u8e3s4, coroutineContext, channel, block) {
|
|
|
249
249
|
}
|
|
250
250
|
function readUTF8LineTo_0(_this__u8e3s4, out, max, lineEnding, $completion) {
|
|
251
251
|
max = max === VOID ? 2147483647 : max;
|
|
252
|
-
lineEnding = lineEnding === VOID ? Companion_getInstance().
|
|
252
|
+
lineEnding = lineEnding === VOID ? Companion_getInstance().k3h_1 : lineEnding;
|
|
253
253
|
var tmp = new ($readUTF8LineToCOROUTINE$())(_this__u8e3s4, out, max, lineEnding, $completion);
|
|
254
254
|
tmp.cc_1 = Unit_instance;
|
|
255
255
|
tmp.dc_1 = null;
|
|
256
256
|
return tmp.ic();
|
|
257
257
|
}
|
|
258
258
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
259
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
259
|
+
var tmp0_safe_receiver = _this__u8e3s4.f3b();
|
|
260
260
|
if (tmp0_safe_receiver == null)
|
|
261
261
|
null;
|
|
262
262
|
else {
|
|
@@ -265,7 +265,7 @@ function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
268
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
268
|
+
var tmp0_safe_receiver = _this__u8e3s4.f3b();
|
|
269
269
|
if (tmp0_safe_receiver == null)
|
|
270
270
|
null;
|
|
271
271
|
else {
|
|
@@ -288,7 +288,7 @@ function readPacket(_this__u8e3s4, packet, $completion) {
|
|
|
288
288
|
function readUntil(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, $completion) {
|
|
289
289
|
limit = limit === VOID ? new (Long())(-1, 2147483647) : limit;
|
|
290
290
|
ignoreMissing = ignoreMissing === VOID ? false : ignoreMissing;
|
|
291
|
-
return (new (ByteChannelScanner())(_this__u8e3s4, matchString, writeChannel, limit)).
|
|
291
|
+
return (new (ByteChannelScanner())(_this__u8e3s4, matchString, writeChannel, limit)).e3d(ignoreMissing, $completion);
|
|
292
292
|
}
|
|
293
293
|
function readByte(_this__u8e3s4, $completion) {
|
|
294
294
|
var tmp = new ($readByteCOROUTINE$())(_this__u8e3s4, $completion);
|
|
@@ -328,7 +328,7 @@ function awaitUntilReadable(_this__u8e3s4, numberOfBytes, $completion) {
|
|
|
328
328
|
}
|
|
329
329
|
function readUTF8LineTo$checkLineEndingAllowed($lineEnding, lineEndingToCheck) {
|
|
330
330
|
if (!LineEndingMode__contains_impl_q5pr68($lineEnding, lineEndingToCheck)) {
|
|
331
|
-
throw IOException().
|
|
331
|
+
throw IOException().z2u('Unexpected line ending ' + LineEndingMode__toString_impl_j4h76r(lineEndingToCheck) + ', while expected ' + LineEndingMode__toString_impl_j4h76r($lineEnding));
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
var reader$slambdaClass;
|
|
@@ -338,18 +338,18 @@ function reader$slambda() {
|
|
|
338
338
|
constructor($block, $channel, resultContinuation, $box) {
|
|
339
339
|
if ($box === VOID)
|
|
340
340
|
$box = {};
|
|
341
|
-
$box.
|
|
342
|
-
$box.
|
|
341
|
+
$box.a3m_1 = $block;
|
|
342
|
+
$box.b3m_1 = $channel;
|
|
343
343
|
super(resultContinuation, $box);
|
|
344
344
|
}
|
|
345
|
-
|
|
346
|
-
var tmp = this.
|
|
345
|
+
z37($this$launch, $completion) {
|
|
346
|
+
var tmp = this.d36($this$launch, $completion);
|
|
347
347
|
tmp.cc_1 = Unit_instance;
|
|
348
348
|
tmp.dc_1 = null;
|
|
349
349
|
return tmp.ic();
|
|
350
350
|
}
|
|
351
351
|
kd(p1, $completion) {
|
|
352
|
-
return this.
|
|
352
|
+
return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
353
353
|
}
|
|
354
354
|
ic() {
|
|
355
355
|
var suspendResult = this.cc_1;
|
|
@@ -359,29 +359,29 @@ function reader$slambda() {
|
|
|
359
359
|
switch (tmp) {
|
|
360
360
|
case 0:
|
|
361
361
|
this.bc_1 = 8;
|
|
362
|
-
this.
|
|
362
|
+
this.d3m_1 = Job(get_job(this.c3m_1.s1x()));
|
|
363
363
|
this.ac_1 = 1;
|
|
364
364
|
continue $sm;
|
|
365
365
|
case 1:
|
|
366
366
|
this.bc_1 = 4;
|
|
367
367
|
this.bc_1 = 3;
|
|
368
368
|
this.ac_1 = 2;
|
|
369
|
-
suspendResult = this.
|
|
369
|
+
suspendResult = this.a3m_1(new (ReaderScope())(this.b3m_1, this.c3m_1.s1x().lm(this.d3m_1)), this);
|
|
370
370
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
371
371
|
return suspendResult;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
continue $sm;
|
|
375
375
|
case 2:
|
|
376
|
-
this.
|
|
376
|
+
this.d3m_1.d25();
|
|
377
377
|
var tmp_0 = this;
|
|
378
378
|
var tmp_1;
|
|
379
|
-
if (get_job(this.
|
|
380
|
-
this.
|
|
379
|
+
if (get_job(this.c3m_1.s1x()).p1y()) {
|
|
380
|
+
this.b3m_1.l3b(get_job(this.c3m_1.s1x()).s1y());
|
|
381
381
|
tmp_1 = Unit_instance;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
tmp_0.
|
|
384
|
+
tmp_0.e3m_1 = tmp_1;
|
|
385
385
|
this.bc_1 = 8;
|
|
386
386
|
this.ac_1 = 6;
|
|
387
387
|
continue $sm;
|
|
@@ -389,11 +389,11 @@ function reader$slambda() {
|
|
|
389
389
|
this.bc_1 = 4;
|
|
390
390
|
var tmp_2 = this.dc_1;
|
|
391
391
|
if (tmp_2 instanceof Error) {
|
|
392
|
-
this.
|
|
392
|
+
this.f3m_1 = this.dc_1;
|
|
393
393
|
var tmp_3 = this;
|
|
394
|
-
cancel(this.
|
|
395
|
-
close(this.
|
|
396
|
-
tmp_3.
|
|
394
|
+
cancel(this.d3m_1, 'Exception thrown while reading from channel', this.f3m_1);
|
|
395
|
+
close(this.b3m_1, this.f3m_1);
|
|
396
|
+
tmp_3.e3m_1 = Unit_instance;
|
|
397
397
|
this.bc_1 = 8;
|
|
398
398
|
this.ac_1 = 6;
|
|
399
399
|
continue $sm;
|
|
@@ -403,20 +403,20 @@ function reader$slambda() {
|
|
|
403
403
|
|
|
404
404
|
case 4:
|
|
405
405
|
this.bc_1 = 8;
|
|
406
|
-
this.
|
|
406
|
+
this.g3m_1 = this.dc_1;
|
|
407
407
|
this.ac_1 = 5;
|
|
408
|
-
suspendResult = this.
|
|
408
|
+
suspendResult = this.d3m_1.z1y(this);
|
|
409
409
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
410
410
|
return suspendResult;
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
continue $sm;
|
|
414
414
|
case 5:
|
|
415
|
-
throw this.
|
|
415
|
+
throw this.g3m_1;
|
|
416
416
|
case 6:
|
|
417
417
|
this.bc_1 = 8;
|
|
418
418
|
this.ac_1 = 7;
|
|
419
|
-
suspendResult = this.
|
|
419
|
+
suspendResult = this.d3m_1.z1y(this);
|
|
420
420
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
421
421
|
return suspendResult;
|
|
422
422
|
}
|
|
@@ -438,9 +438,9 @@ function reader$slambda() {
|
|
|
438
438
|
}
|
|
439
439
|
while (true);
|
|
440
440
|
}
|
|
441
|
-
|
|
442
|
-
var i = new (reader$slambda())(this.
|
|
443
|
-
i.
|
|
441
|
+
d36($this$launch, completion) {
|
|
442
|
+
var i = new (reader$slambda())(this.a3m_1, this.b3m_1, completion);
|
|
443
|
+
i.c3m_1 = $this$launch;
|
|
444
444
|
return i;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
@@ -452,7 +452,7 @@ function reader$slambda() {
|
|
|
452
452
|
function reader$slambda_0($block, $channel, resultContinuation) {
|
|
453
453
|
var i = new (reader$slambda())($block, $channel, resultContinuation);
|
|
454
454
|
var l = function ($this$launch, $completion) {
|
|
455
|
-
return i.
|
|
455
|
+
return i.z37($this$launch, $completion);
|
|
456
456
|
};
|
|
457
457
|
l.$arity = 1;
|
|
458
458
|
return l;
|
|
@@ -460,8 +460,8 @@ function reader$slambda_0($block, $channel, resultContinuation) {
|
|
|
460
460
|
function reader$lambda($channel) {
|
|
461
461
|
return function (it) {
|
|
462
462
|
var tmp;
|
|
463
|
-
if (!(it == null) && !$channel.
|
|
464
|
-
$channel.
|
|
463
|
+
if (!(it == null) && !$channel.h3b()) {
|
|
464
|
+
$channel.l3b(it);
|
|
465
465
|
tmp = Unit_instance;
|
|
466
466
|
}
|
|
467
467
|
return Unit_instance;
|
|
@@ -474,17 +474,17 @@ function reader$slambda_1() {
|
|
|
474
474
|
constructor($job, resultContinuation, $box) {
|
|
475
475
|
if ($box === VOID)
|
|
476
476
|
$box = {};
|
|
477
|
-
$box.
|
|
477
|
+
$box.p3m_1 = $job;
|
|
478
478
|
super(resultContinuation, $box);
|
|
479
479
|
}
|
|
480
|
-
|
|
481
|
-
var tmp = this.
|
|
480
|
+
q3m($completion) {
|
|
481
|
+
var tmp = this.r3m($completion);
|
|
482
482
|
tmp.cc_1 = Unit_instance;
|
|
483
483
|
tmp.dc_1 = null;
|
|
484
484
|
return tmp.ic();
|
|
485
485
|
}
|
|
486
486
|
pe($completion) {
|
|
487
|
-
return this.
|
|
487
|
+
return this.q3m($completion);
|
|
488
488
|
}
|
|
489
489
|
ic() {
|
|
490
490
|
var suspendResult = this.cc_1;
|
|
@@ -495,7 +495,7 @@ function reader$slambda_1() {
|
|
|
495
495
|
case 0:
|
|
496
496
|
this.bc_1 = 2;
|
|
497
497
|
this.ac_1 = 1;
|
|
498
|
-
suspendResult = this.
|
|
498
|
+
suspendResult = this.p3m_1.z1y(this);
|
|
499
499
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
500
500
|
return suspendResult;
|
|
501
501
|
}
|
|
@@ -517,8 +517,8 @@ function reader$slambda_1() {
|
|
|
517
517
|
}
|
|
518
518
|
while (true);
|
|
519
519
|
}
|
|
520
|
-
|
|
521
|
-
return new (reader$slambda_1())(this.
|
|
520
|
+
r3m(completion) {
|
|
521
|
+
return new (reader$slambda_1())(this.p3m_1, completion);
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
524
|
initMetadataForLambda($, VOID, VOID, [0]);
|
|
@@ -529,7 +529,7 @@ function reader$slambda_1() {
|
|
|
529
529
|
function reader$slambda_2($job, resultContinuation) {
|
|
530
530
|
var i = new (reader$slambda_1())($job, resultContinuation);
|
|
531
531
|
var l = function ($completion) {
|
|
532
|
-
return i.
|
|
532
|
+
return i.q3m($completion);
|
|
533
533
|
};
|
|
534
534
|
l.$arity = 0;
|
|
535
535
|
return l;
|
|
@@ -540,7 +540,7 @@ function $readRemainingCOROUTINE$() {
|
|
|
540
540
|
class $ extends CoroutineImpl() {
|
|
541
541
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
542
542
|
super(resultContinuation);
|
|
543
|
-
this.
|
|
543
|
+
this.q3d_1 = _this__u8e3s4;
|
|
544
544
|
}
|
|
545
545
|
ic() {
|
|
546
546
|
var suspendResult = this.cc_1;
|
|
@@ -550,18 +550,18 @@ function $readRemainingCOROUTINE$() {
|
|
|
550
550
|
switch (tmp) {
|
|
551
551
|
case 0:
|
|
552
552
|
this.bc_1 = 4;
|
|
553
|
-
this.
|
|
553
|
+
this.r3d_1 = BytePacketBuilder();
|
|
554
554
|
this.ac_1 = 1;
|
|
555
555
|
continue $sm;
|
|
556
556
|
case 1:
|
|
557
|
-
if (!!this.
|
|
557
|
+
if (!!this.q3d_1.h3b()) {
|
|
558
558
|
this.ac_1 = 3;
|
|
559
559
|
continue $sm;
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
this.
|
|
562
|
+
this.r3d_1.k2t(this.q3d_1.a3b());
|
|
563
563
|
this.ac_1 = 2;
|
|
564
|
-
suspendResult = this.
|
|
564
|
+
suspendResult = this.q3d_1.j3b(VOID, this);
|
|
565
565
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
566
566
|
return suspendResult;
|
|
567
567
|
}
|
|
@@ -571,8 +571,8 @@ function $readRemainingCOROUTINE$() {
|
|
|
571
571
|
this.ac_1 = 1;
|
|
572
572
|
continue $sm;
|
|
573
573
|
case 3:
|
|
574
|
-
rethrowCloseCauseIfNeeded(this.
|
|
575
|
-
return this.
|
|
574
|
+
rethrowCloseCauseIfNeeded(this.q3d_1);
|
|
575
|
+
return this.r3d_1.n2r();
|
|
576
576
|
case 4:
|
|
577
577
|
throw this.dc_1;
|
|
578
578
|
}
|
|
@@ -599,8 +599,8 @@ function $discardCOROUTINE$() {
|
|
|
599
599
|
class $ extends CoroutineImpl() {
|
|
600
600
|
constructor(_this__u8e3s4, max, resultContinuation) {
|
|
601
601
|
super(resultContinuation);
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
602
|
+
this.a3e_1 = _this__u8e3s4;
|
|
603
|
+
this.b3e_1 = max;
|
|
604
604
|
}
|
|
605
605
|
ic() {
|
|
606
606
|
var suspendResult = this.cc_1;
|
|
@@ -610,18 +610,18 @@ function $discardCOROUTINE$() {
|
|
|
610
610
|
switch (tmp) {
|
|
611
611
|
case 0:
|
|
612
612
|
this.bc_1 = 5;
|
|
613
|
-
this.
|
|
613
|
+
this.c3e_1 = this.b3e_1;
|
|
614
614
|
this.ac_1 = 1;
|
|
615
615
|
continue $sm;
|
|
616
616
|
case 1:
|
|
617
|
-
if (!(this.
|
|
617
|
+
if (!(this.c3e_1.a2(new (Long())(0, 0)) > 0 && !this.a3e_1.h3b())) {
|
|
618
618
|
this.ac_1 = 4;
|
|
619
619
|
continue $sm;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
if (get_availableForRead(this.
|
|
622
|
+
if (get_availableForRead(this.a3e_1) === 0) {
|
|
623
623
|
this.ac_1 = 2;
|
|
624
|
-
suspendResult = this.
|
|
624
|
+
suspendResult = this.a3e_1.j3b(VOID, this);
|
|
625
625
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
626
626
|
return suspendResult;
|
|
627
627
|
}
|
|
@@ -635,15 +635,15 @@ function $discardCOROUTINE$() {
|
|
|
635
635
|
this.ac_1 = 3;
|
|
636
636
|
continue $sm;
|
|
637
637
|
case 3:
|
|
638
|
-
var tmp0 = this.
|
|
639
|
-
var b = get_remaining(this.
|
|
638
|
+
var tmp0 = this.c3e_1;
|
|
639
|
+
var b = get_remaining(this.a3e_1.a3b());
|
|
640
640
|
var count = tmp0.a2(b) <= 0 ? tmp0 : b;
|
|
641
|
-
discard(this.
|
|
642
|
-
this.
|
|
641
|
+
discard(this.a3e_1.a3b(), count);
|
|
642
|
+
this.c3e_1 = this.c3e_1.q3(count);
|
|
643
643
|
this.ac_1 = 1;
|
|
644
644
|
continue $sm;
|
|
645
645
|
case 4:
|
|
646
|
-
return this.
|
|
646
|
+
return this.b3e_1.q3(this.c3e_1);
|
|
647
647
|
case 5:
|
|
648
648
|
throw this.dc_1;
|
|
649
649
|
}
|
|
@@ -670,8 +670,8 @@ function $copyAndCloseCOROUTINE$() {
|
|
|
670
670
|
class $ extends CoroutineImpl() {
|
|
671
671
|
constructor(_this__u8e3s4, channel, resultContinuation) {
|
|
672
672
|
super(resultContinuation);
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
673
|
+
this.l3e_1 = _this__u8e3s4;
|
|
674
|
+
this.m3e_1 = channel;
|
|
675
675
|
}
|
|
676
676
|
ic() {
|
|
677
677
|
var suspendResult = this.cc_1;
|
|
@@ -681,7 +681,7 @@ function $copyAndCloseCOROUTINE$() {
|
|
|
681
681
|
switch (tmp) {
|
|
682
682
|
case 0:
|
|
683
683
|
this.bc_1 = 11;
|
|
684
|
-
this.
|
|
684
|
+
this.n3e_1 = new (Long())(0, 0);
|
|
685
685
|
this.ac_1 = 1;
|
|
686
686
|
continue $sm;
|
|
687
687
|
case 1:
|
|
@@ -690,14 +690,14 @@ function $copyAndCloseCOROUTINE$() {
|
|
|
690
690
|
this.ac_1 = 2;
|
|
691
691
|
continue $sm;
|
|
692
692
|
case 2:
|
|
693
|
-
if (!!this.
|
|
693
|
+
if (!!this.l3e_1.h3b()) {
|
|
694
694
|
this.ac_1 = 5;
|
|
695
695
|
continue $sm;
|
|
696
696
|
}
|
|
697
697
|
|
|
698
|
-
this.
|
|
698
|
+
this.n3e_1 = this.n3e_1.p3(this.l3e_1.a3b().v2s(this.m3e_1.d3b()));
|
|
699
699
|
this.ac_1 = 3;
|
|
700
|
-
suspendResult = this.
|
|
700
|
+
suspendResult = this.m3e_1.z3a(this);
|
|
701
701
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
702
702
|
return suspendResult;
|
|
703
703
|
}
|
|
@@ -705,7 +705,7 @@ function $copyAndCloseCOROUTINE$() {
|
|
|
705
705
|
continue $sm;
|
|
706
706
|
case 3:
|
|
707
707
|
this.ac_1 = 4;
|
|
708
|
-
suspendResult = this.
|
|
708
|
+
suspendResult = this.l3e_1.j3b(VOID, this);
|
|
709
709
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
710
710
|
return suspendResult;
|
|
711
711
|
}
|
|
@@ -716,7 +716,7 @@ function $copyAndCloseCOROUTINE$() {
|
|
|
716
716
|
continue $sm;
|
|
717
717
|
case 5:
|
|
718
718
|
var tmp_0 = this;
|
|
719
|
-
var tmp0_safe_receiver = this.
|
|
719
|
+
var tmp0_safe_receiver = this.l3e_1.f3b();
|
|
720
720
|
var tmp_1;
|
|
721
721
|
if (tmp0_safe_receiver == null) {
|
|
722
722
|
tmp_1 = null;
|
|
@@ -724,7 +724,7 @@ function $copyAndCloseCOROUTINE$() {
|
|
|
724
724
|
throw tmp0_safe_receiver;
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
-
tmp_0.
|
|
727
|
+
tmp_0.o3e_1 = tmp_1;
|
|
728
728
|
this.bc_1 = 11;
|
|
729
729
|
this.ac_1 = 9;
|
|
730
730
|
continue $sm;
|
|
@@ -732,39 +732,39 @@ function $copyAndCloseCOROUTINE$() {
|
|
|
732
732
|
this.bc_1 = 7;
|
|
733
733
|
var tmp_2 = this.dc_1;
|
|
734
734
|
if (tmp_2 instanceof Error) {
|
|
735
|
-
this.
|
|
735
|
+
this.p3e_1 = this.dc_1;
|
|
736
736
|
var tmp_3 = this;
|
|
737
|
-
this.
|
|
738
|
-
close(this.
|
|
739
|
-
throw this.
|
|
737
|
+
this.l3e_1.l3b(this.p3e_1);
|
|
738
|
+
close(this.m3e_1, this.p3e_1);
|
|
739
|
+
throw this.p3e_1;
|
|
740
740
|
} else {
|
|
741
741
|
throw this.dc_1;
|
|
742
742
|
}
|
|
743
743
|
|
|
744
744
|
case 7:
|
|
745
745
|
this.bc_1 = 11;
|
|
746
|
-
this.
|
|
746
|
+
this.q3e_1 = this.dc_1;
|
|
747
747
|
this.ac_1 = 8;
|
|
748
|
-
suspendResult = this.
|
|
748
|
+
suspendResult = this.m3e_1.k3b(this);
|
|
749
749
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
750
750
|
return suspendResult;
|
|
751
751
|
}
|
|
752
752
|
|
|
753
753
|
continue $sm;
|
|
754
754
|
case 8:
|
|
755
|
-
throw this.
|
|
755
|
+
throw this.q3e_1;
|
|
756
756
|
case 9:
|
|
757
|
-
this.
|
|
757
|
+
this.r3e_1 = this.o3e_1;
|
|
758
758
|
this.bc_1 = 11;
|
|
759
759
|
this.ac_1 = 10;
|
|
760
|
-
suspendResult = this.
|
|
760
|
+
suspendResult = this.m3e_1.k3b(this);
|
|
761
761
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
762
762
|
return suspendResult;
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
continue $sm;
|
|
766
766
|
case 10:
|
|
767
|
-
return this.
|
|
767
|
+
return this.n3e_1;
|
|
768
768
|
case 11:
|
|
769
769
|
throw this.dc_1;
|
|
770
770
|
}
|
|
@@ -791,10 +791,10 @@ function $readAvailableCOROUTINE$() {
|
|
|
791
791
|
class $ extends CoroutineImpl() {
|
|
792
792
|
constructor(_this__u8e3s4, buffer, offset, length, resultContinuation) {
|
|
793
793
|
super(resultContinuation);
|
|
794
|
-
this.
|
|
795
|
-
this.
|
|
796
|
-
this.
|
|
797
|
-
this.
|
|
794
|
+
this.a3f_1 = _this__u8e3s4;
|
|
795
|
+
this.b3f_1 = buffer;
|
|
796
|
+
this.c3f_1 = offset;
|
|
797
|
+
this.d3f_1 = length;
|
|
798
798
|
}
|
|
799
799
|
ic() {
|
|
800
800
|
var suspendResult = this.cc_1;
|
|
@@ -804,11 +804,11 @@ function $readAvailableCOROUTINE$() {
|
|
|
804
804
|
switch (tmp) {
|
|
805
805
|
case 0:
|
|
806
806
|
this.bc_1 = 3;
|
|
807
|
-
if (this.
|
|
807
|
+
if (this.a3f_1.h3b())
|
|
808
808
|
return -1;
|
|
809
|
-
if (this.
|
|
809
|
+
if (this.a3f_1.a3b().o2r()) {
|
|
810
810
|
this.ac_1 = 1;
|
|
811
|
-
suspendResult = this.
|
|
811
|
+
suspendResult = this.a3f_1.j3b(VOID, this);
|
|
812
812
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
813
813
|
return suspendResult;
|
|
814
814
|
}
|
|
@@ -822,9 +822,9 @@ function $readAvailableCOROUTINE$() {
|
|
|
822
822
|
this.ac_1 = 2;
|
|
823
823
|
continue $sm;
|
|
824
824
|
case 2:
|
|
825
|
-
if (this.
|
|
825
|
+
if (this.a3f_1.h3b())
|
|
826
826
|
return -1;
|
|
827
|
-
return readAvailable(this.
|
|
827
|
+
return readAvailable(this.a3f_1.a3b(), this.b3f_1, this.c3f_1, this.d3f_1);
|
|
828
828
|
case 3:
|
|
829
829
|
throw this.dc_1;
|
|
830
830
|
}
|
|
@@ -851,8 +851,8 @@ function $readUTF8LineCOROUTINE$() {
|
|
|
851
851
|
class $ extends CoroutineImpl() {
|
|
852
852
|
constructor(_this__u8e3s4, max, resultContinuation) {
|
|
853
853
|
super(resultContinuation);
|
|
854
|
-
this.
|
|
855
|
-
this.
|
|
854
|
+
this.m3f_1 = _this__u8e3s4;
|
|
855
|
+
this.n3f_1 = max;
|
|
856
856
|
}
|
|
857
857
|
ic() {
|
|
858
858
|
var suspendResult = this.cc_1;
|
|
@@ -862,9 +862,9 @@ function $readUTF8LineCOROUTINE$() {
|
|
|
862
862
|
switch (tmp) {
|
|
863
863
|
case 0:
|
|
864
864
|
this.bc_1 = 2;
|
|
865
|
-
this.
|
|
865
|
+
this.o3f_1 = StringBuilder().a1();
|
|
866
866
|
this.ac_1 = 1;
|
|
867
|
-
suspendResult = readUTF8LineTo(this.
|
|
867
|
+
suspendResult = readUTF8LineTo(this.m3f_1, this.o3f_1, this.n3f_1, this);
|
|
868
868
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
869
869
|
return suspendResult;
|
|
870
870
|
}
|
|
@@ -872,7 +872,7 @@ function $readUTF8LineCOROUTINE$() {
|
|
|
872
872
|
continue $sm;
|
|
873
873
|
case 1:
|
|
874
874
|
var completed = suspendResult;
|
|
875
|
-
return !completed ? null : this.
|
|
875
|
+
return !completed ? null : this.o3f_1.toString();
|
|
876
876
|
case 2:
|
|
877
877
|
throw this.dc_1;
|
|
878
878
|
}
|
|
@@ -899,7 +899,7 @@ function $toByteArrayCOROUTINE$() {
|
|
|
899
899
|
class $ extends CoroutineImpl() {
|
|
900
900
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
901
901
|
super(resultContinuation);
|
|
902
|
-
this.
|
|
902
|
+
this.x3f_1 = _this__u8e3s4;
|
|
903
903
|
}
|
|
904
904
|
ic() {
|
|
905
905
|
var suspendResult = this.cc_1;
|
|
@@ -910,7 +910,7 @@ function $toByteArrayCOROUTINE$() {
|
|
|
910
910
|
case 0:
|
|
911
911
|
this.bc_1 = 2;
|
|
912
912
|
this.ac_1 = 1;
|
|
913
|
-
suspendResult = readBuffer(this.
|
|
913
|
+
suspendResult = readBuffer(this.x3f_1, this);
|
|
914
914
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
915
915
|
return suspendResult;
|
|
916
916
|
}
|
|
@@ -945,9 +945,9 @@ function $copyToCOROUTINE$() {
|
|
|
945
945
|
class $ extends CoroutineImpl() {
|
|
946
946
|
constructor(_this__u8e3s4, channel, limit, resultContinuation) {
|
|
947
947
|
super(resultContinuation);
|
|
948
|
-
this.
|
|
949
|
-
this.
|
|
950
|
-
this.
|
|
948
|
+
this.g3g_1 = _this__u8e3s4;
|
|
949
|
+
this.h3g_1 = channel;
|
|
950
|
+
this.i3g_1 = limit;
|
|
951
951
|
}
|
|
952
952
|
ic() {
|
|
953
953
|
var suspendResult = this.cc_1;
|
|
@@ -957,7 +957,7 @@ function $copyToCOROUTINE$() {
|
|
|
957
957
|
switch (tmp) {
|
|
958
958
|
case 0:
|
|
959
959
|
this.bc_1 = 12;
|
|
960
|
-
this.
|
|
960
|
+
this.j3g_1 = this.i3g_1;
|
|
961
961
|
this.ac_1 = 1;
|
|
962
962
|
continue $sm;
|
|
963
963
|
case 1:
|
|
@@ -966,14 +966,14 @@ function $copyToCOROUTINE$() {
|
|
|
966
966
|
this.ac_1 = 2;
|
|
967
967
|
continue $sm;
|
|
968
968
|
case 2:
|
|
969
|
-
if (!(!this.
|
|
969
|
+
if (!(!this.g3g_1.h3b() && this.j3g_1.a2(new (Long())(0, 0)) > 0)) {
|
|
970
970
|
this.ac_1 = 6;
|
|
971
971
|
continue $sm;
|
|
972
972
|
}
|
|
973
973
|
|
|
974
|
-
if (this.
|
|
974
|
+
if (this.g3g_1.a3b().o2r()) {
|
|
975
975
|
this.ac_1 = 3;
|
|
976
|
-
suspendResult = this.
|
|
976
|
+
suspendResult = this.g3g_1.j3b(VOID, this);
|
|
977
977
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
978
978
|
return suspendResult;
|
|
979
979
|
}
|
|
@@ -988,13 +988,13 @@ function $copyToCOROUTINE$() {
|
|
|
988
988
|
continue $sm;
|
|
989
989
|
case 4:
|
|
990
990
|
var tmp_0 = this;
|
|
991
|
-
var tmp0 = this.
|
|
992
|
-
var b = get_remaining(this.
|
|
993
|
-
tmp_0.
|
|
994
|
-
this.
|
|
995
|
-
this.
|
|
991
|
+
var tmp0 = this.j3g_1;
|
|
992
|
+
var b = get_remaining(this.g3g_1.a3b());
|
|
993
|
+
tmp_0.l3g_1 = tmp0.a2(b) <= 0 ? tmp0 : b;
|
|
994
|
+
this.g3g_1.a3b().u2s(this.h3g_1.d3b(), this.l3g_1);
|
|
995
|
+
this.j3g_1 = this.j3g_1.q3(this.l3g_1);
|
|
996
996
|
this.ac_1 = 5;
|
|
997
|
-
suspendResult = this.
|
|
997
|
+
suspendResult = this.h3g_1.z3a(this);
|
|
998
998
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
999
999
|
return suspendResult;
|
|
1000
1000
|
}
|
|
@@ -1004,7 +1004,7 @@ function $copyToCOROUTINE$() {
|
|
|
1004
1004
|
this.ac_1 = 2;
|
|
1005
1005
|
continue $sm;
|
|
1006
1006
|
case 6:
|
|
1007
|
-
this.
|
|
1007
|
+
this.k3g_1 = Unit_instance;
|
|
1008
1008
|
this.bc_1 = 12;
|
|
1009
1009
|
this.ac_1 = 10;
|
|
1010
1010
|
continue $sm;
|
|
@@ -1012,38 +1012,38 @@ function $copyToCOROUTINE$() {
|
|
|
1012
1012
|
this.bc_1 = 8;
|
|
1013
1013
|
var tmp_1 = this.dc_1;
|
|
1014
1014
|
if (tmp_1 instanceof Error) {
|
|
1015
|
-
this.
|
|
1015
|
+
this.m3g_1 = this.dc_1;
|
|
1016
1016
|
var tmp_2 = this;
|
|
1017
|
-
this.
|
|
1018
|
-
close(this.
|
|
1019
|
-
throw this.
|
|
1017
|
+
this.g3g_1.l3b(this.m3g_1);
|
|
1018
|
+
close(this.h3g_1, this.m3g_1);
|
|
1019
|
+
throw this.m3g_1;
|
|
1020
1020
|
} else {
|
|
1021
1021
|
throw this.dc_1;
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
case 8:
|
|
1025
1025
|
this.bc_1 = 12;
|
|
1026
|
-
this.
|
|
1026
|
+
this.n3g_1 = this.dc_1;
|
|
1027
1027
|
this.ac_1 = 9;
|
|
1028
|
-
suspendResult = this.
|
|
1028
|
+
suspendResult = this.h3g_1.z3a(this);
|
|
1029
1029
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1030
1030
|
return suspendResult;
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
continue $sm;
|
|
1034
1034
|
case 9:
|
|
1035
|
-
throw this.
|
|
1035
|
+
throw this.n3g_1;
|
|
1036
1036
|
case 10:
|
|
1037
1037
|
this.bc_1 = 12;
|
|
1038
1038
|
this.ac_1 = 11;
|
|
1039
|
-
suspendResult = this.
|
|
1039
|
+
suspendResult = this.h3g_1.z3a(this);
|
|
1040
1040
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1041
1041
|
return suspendResult;
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
1044
|
continue $sm;
|
|
1045
1045
|
case 11:
|
|
1046
|
-
return this.
|
|
1046
|
+
return this.i3g_1.q3(this.j3g_1);
|
|
1047
1047
|
case 12:
|
|
1048
1048
|
throw this.dc_1;
|
|
1049
1049
|
}
|
|
@@ -1070,7 +1070,7 @@ function $readBufferCOROUTINE$() {
|
|
|
1070
1070
|
class $ extends CoroutineImpl() {
|
|
1071
1071
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
1072
1072
|
super(resultContinuation);
|
|
1073
|
-
this.
|
|
1073
|
+
this.u3h_1 = _this__u8e3s4;
|
|
1074
1074
|
}
|
|
1075
1075
|
ic() {
|
|
1076
1076
|
var suspendResult = this.cc_1;
|
|
@@ -1080,18 +1080,18 @@ function $readBufferCOROUTINE$() {
|
|
|
1080
1080
|
switch (tmp) {
|
|
1081
1081
|
case 0:
|
|
1082
1082
|
this.bc_1 = 4;
|
|
1083
|
-
this.
|
|
1083
|
+
this.v3h_1 = new (Buffer())();
|
|
1084
1084
|
this.ac_1 = 1;
|
|
1085
1085
|
continue $sm;
|
|
1086
1086
|
case 1:
|
|
1087
|
-
if (!!this.
|
|
1087
|
+
if (!!this.u3h_1.h3b()) {
|
|
1088
1088
|
this.ac_1 = 3;
|
|
1089
1089
|
continue $sm;
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
-
this.
|
|
1092
|
+
this.v3h_1.k2t(this.u3h_1.a3b());
|
|
1093
1093
|
this.ac_1 = 2;
|
|
1094
|
-
suspendResult = this.
|
|
1094
|
+
suspendResult = this.u3h_1.j3b(VOID, this);
|
|
1095
1095
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1096
1096
|
return suspendResult;
|
|
1097
1097
|
}
|
|
@@ -1101,14 +1101,14 @@ function $readBufferCOROUTINE$() {
|
|
|
1101
1101
|
this.ac_1 = 1;
|
|
1102
1102
|
continue $sm;
|
|
1103
1103
|
case 3:
|
|
1104
|
-
var tmp0_safe_receiver = this.
|
|
1104
|
+
var tmp0_safe_receiver = this.u3h_1.f3b();
|
|
1105
1105
|
if (tmp0_safe_receiver == null)
|
|
1106
1106
|
null;
|
|
1107
1107
|
else {
|
|
1108
1108
|
throw tmp0_safe_receiver;
|
|
1109
1109
|
}
|
|
1110
1110
|
|
|
1111
|
-
return this.
|
|
1111
|
+
return this.v3h_1;
|
|
1112
1112
|
case 4:
|
|
1113
1113
|
throw this.dc_1;
|
|
1114
1114
|
}
|
|
@@ -1135,10 +1135,10 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1135
1135
|
class $ extends CoroutineImpl() {
|
|
1136
1136
|
constructor(_this__u8e3s4, out, max, lineEnding, resultContinuation) {
|
|
1137
1137
|
super(resultContinuation);
|
|
1138
|
-
this.
|
|
1139
|
-
this.
|
|
1140
|
-
this.
|
|
1141
|
-
this.
|
|
1138
|
+
this.e3i_1 = _this__u8e3s4;
|
|
1139
|
+
this.f3i_1 = out;
|
|
1140
|
+
this.g3i_1 = max;
|
|
1141
|
+
this.h3i_1 = lineEnding;
|
|
1142
1142
|
}
|
|
1143
1143
|
ic() {
|
|
1144
1144
|
var suspendResult = this.cc_1;
|
|
@@ -1148,9 +1148,9 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1148
1148
|
switch (tmp) {
|
|
1149
1149
|
case 0:
|
|
1150
1150
|
this.bc_1 = 21;
|
|
1151
|
-
if (this.
|
|
1151
|
+
if (this.e3i_1.a3b().o2r()) {
|
|
1152
1152
|
this.ac_1 = 1;
|
|
1153
|
-
suspendResult = this.
|
|
1153
|
+
suspendResult = this.e3i_1.j3b(VOID, this);
|
|
1154
1154
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1155
1155
|
return suspendResult;
|
|
1156
1156
|
}
|
|
@@ -1164,15 +1164,15 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1164
1164
|
this.ac_1 = 2;
|
|
1165
1165
|
continue $sm;
|
|
1166
1166
|
case 2:
|
|
1167
|
-
if (this.
|
|
1167
|
+
if (this.e3i_1.h3b())
|
|
1168
1168
|
return false;
|
|
1169
1169
|
var tmp_0 = this;
|
|
1170
|
-
tmp_0.
|
|
1170
|
+
tmp_0.i3i_1 = new (Buffer())();
|
|
1171
1171
|
this.ac_1 = 3;
|
|
1172
1172
|
continue $sm;
|
|
1173
1173
|
case 3:
|
|
1174
|
-
this.
|
|
1175
|
-
this.
|
|
1174
|
+
this.k3i_1 = this.i3i_1;
|
|
1175
|
+
this.l3i_1 = null;
|
|
1176
1176
|
this.ac_1 = 4;
|
|
1177
1177
|
continue $sm;
|
|
1178
1178
|
case 4:
|
|
@@ -1185,12 +1185,12 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1185
1185
|
this.bc_1 = 18;
|
|
1186
1186
|
this.bc_1 = 17;
|
|
1187
1187
|
var tmp_1 = this;
|
|
1188
|
-
tmp_1.
|
|
1189
|
-
this.
|
|
1188
|
+
tmp_1.n3i_1 = this.k3i_1;
|
|
1189
|
+
this.o3i_1 = this.n3i_1;
|
|
1190
1190
|
this.ac_1 = 7;
|
|
1191
1191
|
continue $sm;
|
|
1192
1192
|
case 7:
|
|
1193
|
-
if (!!this.
|
|
1193
|
+
if (!!this.e3i_1.h3b()) {
|
|
1194
1194
|
this.ac_1 = 14;
|
|
1195
1195
|
continue $sm;
|
|
1196
1196
|
}
|
|
@@ -1198,16 +1198,16 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1198
1198
|
this.ac_1 = 8;
|
|
1199
1199
|
continue $sm;
|
|
1200
1200
|
case 8:
|
|
1201
|
-
if (!!this.
|
|
1201
|
+
if (!!this.e3i_1.a3b().o2r()) {
|
|
1202
1202
|
this.ac_1 = 12;
|
|
1203
1203
|
continue $sm;
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
|
-
this.
|
|
1207
|
-
if (this.
|
|
1208
|
-
if (this.
|
|
1206
|
+
this.p3i_1 = this.e3i_1.a3b().r2r();
|
|
1207
|
+
if (this.p3i_1 === 13) {
|
|
1208
|
+
if (this.e3i_1.a3b().o2r()) {
|
|
1209
1209
|
this.ac_1 = 10;
|
|
1210
|
-
suspendResult = this.
|
|
1210
|
+
suspendResult = this.e3i_1.j3b(VOID, this);
|
|
1211
1211
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1212
1212
|
return suspendResult;
|
|
1213
1213
|
}
|
|
@@ -1217,15 +1217,15 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1217
1217
|
continue $sm;
|
|
1218
1218
|
}
|
|
1219
1219
|
} else {
|
|
1220
|
-
if (this.
|
|
1221
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1222
|
-
this.
|
|
1223
|
-
this.
|
|
1220
|
+
if (this.p3i_1 === 10) {
|
|
1221
|
+
readUTF8LineTo$checkLineEndingAllowed(this.h3i_1, Companion_getInstance().i3h_1);
|
|
1222
|
+
this.f3i_1.b1(readString(this.o3i_1));
|
|
1223
|
+
this.m3i_1 = true;
|
|
1224
1224
|
this.bc_1 = 21;
|
|
1225
1225
|
this.ac_1 = 15;
|
|
1226
1226
|
continue $sm;
|
|
1227
1227
|
} else {
|
|
1228
|
-
this.
|
|
1228
|
+
this.o3i_1.l2t(this.p3i_1);
|
|
1229
1229
|
this.ac_1 = 9;
|
|
1230
1230
|
continue $sm;
|
|
1231
1231
|
}
|
|
@@ -1238,25 +1238,25 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1238
1238
|
this.ac_1 = 11;
|
|
1239
1239
|
continue $sm;
|
|
1240
1240
|
case 11:
|
|
1241
|
-
if (this.
|
|
1242
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1243
|
-
discard(this.
|
|
1241
|
+
if (this.e3i_1.a3b().n2r().n2s(new (Long())(0, 0)) === 10) {
|
|
1242
|
+
readUTF8LineTo$checkLineEndingAllowed(this.h3i_1, Companion_getInstance().j3h_1);
|
|
1243
|
+
discard(this.e3i_1.a3b(), new (Long())(1, 0));
|
|
1244
1244
|
} else {
|
|
1245
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1245
|
+
readUTF8LineTo$checkLineEndingAllowed(this.h3i_1, Companion_getInstance().h3h_1);
|
|
1246
1246
|
}
|
|
1247
1247
|
|
|
1248
|
-
this.
|
|
1249
|
-
this.
|
|
1248
|
+
this.f3i_1.b1(readString(this.o3i_1));
|
|
1249
|
+
this.m3i_1 = true;
|
|
1250
1250
|
this.bc_1 = 21;
|
|
1251
1251
|
this.ac_1 = 15;
|
|
1252
1252
|
continue $sm;
|
|
1253
1253
|
case 12:
|
|
1254
|
-
if (this.
|
|
1255
|
-
throw TooLongLineException().
|
|
1254
|
+
if (this.o3i_1.i1().a2(toLong(this.g3i_1)) >= 0) {
|
|
1255
|
+
throw TooLongLineException().w3m('Line exceeds limit of ' + this.g3i_1 + ' characters');
|
|
1256
1256
|
}
|
|
1257
1257
|
|
|
1258
1258
|
this.ac_1 = 13;
|
|
1259
|
-
suspendResult = this.
|
|
1259
|
+
suspendResult = this.e3i_1.j3b(VOID, this);
|
|
1260
1260
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1261
1261
|
return suspendResult;
|
|
1262
1262
|
}
|
|
@@ -1267,26 +1267,26 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1267
1267
|
continue $sm;
|
|
1268
1268
|
case 14:
|
|
1269
1269
|
var tmp_2 = this;
|
|
1270
|
-
var this_0 = this.
|
|
1270
|
+
var this_0 = this.o3i_1.i1().a2(new (Long())(0, 0)) > 0;
|
|
1271
1271
|
if (this_0) {
|
|
1272
|
-
this.
|
|
1272
|
+
this.f3i_1.b1(readString(this.o3i_1));
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
|
-
tmp_2.
|
|
1275
|
+
tmp_2.m3i_1 = this_0;
|
|
1276
1276
|
this.bc_1 = 21;
|
|
1277
1277
|
this.ac_1 = 15;
|
|
1278
1278
|
var tmp_3 = this;
|
|
1279
1279
|
continue $sm;
|
|
1280
1280
|
case 15:
|
|
1281
|
-
var tmp_4 = this.
|
|
1281
|
+
var tmp_4 = this.m3i_1;
|
|
1282
1282
|
this.bc_1 = 21;
|
|
1283
|
-
closeFinally(this.
|
|
1283
|
+
closeFinally(this.k3i_1, this.l3i_1);
|
|
1284
1284
|
return tmp_4;
|
|
1285
1285
|
case 16:
|
|
1286
1286
|
this.bc_1 = 21;
|
|
1287
1287
|
var tmp_5 = this;
|
|
1288
|
-
closeFinally(this.
|
|
1289
|
-
tmp_5.
|
|
1288
|
+
closeFinally(this.k3i_1, this.l3i_1);
|
|
1289
|
+
tmp_5.j3i_1 = Unit_instance;
|
|
1290
1290
|
this.ac_1 = 20;
|
|
1291
1291
|
continue $sm;
|
|
1292
1292
|
case 17:
|
|
@@ -1295,7 +1295,7 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1295
1295
|
if (tmp_6 instanceof Error) {
|
|
1296
1296
|
var e = this.dc_1;
|
|
1297
1297
|
var tmp_7 = this;
|
|
1298
|
-
this.
|
|
1298
|
+
this.l3i_1 = e;
|
|
1299
1299
|
throw e;
|
|
1300
1300
|
} else {
|
|
1301
1301
|
throw this.dc_1;
|
|
@@ -1304,11 +1304,11 @@ function $readUTF8LineToCOROUTINE$() {
|
|
|
1304
1304
|
case 18:
|
|
1305
1305
|
this.bc_1 = 21;
|
|
1306
1306
|
var t = this.dc_1;
|
|
1307
|
-
closeFinally(this.
|
|
1307
|
+
closeFinally(this.k3i_1, this.l3i_1);
|
|
1308
1308
|
throw t;
|
|
1309
1309
|
case 19:
|
|
1310
1310
|
this.bc_1 = 21;
|
|
1311
|
-
closeFinally(this.
|
|
1311
|
+
closeFinally(this.k3i_1, this.l3i_1);
|
|
1312
1312
|
if (false) {
|
|
1313
1313
|
this.ac_1 = 3;
|
|
1314
1314
|
continue $sm;
|
|
@@ -1344,8 +1344,8 @@ function $skipIfFoundCOROUTINE$() {
|
|
|
1344
1344
|
class $ extends CoroutineImpl() {
|
|
1345
1345
|
constructor(_this__u8e3s4, byteString, resultContinuation) {
|
|
1346
1346
|
super(resultContinuation);
|
|
1347
|
-
this.
|
|
1348
|
-
this.
|
|
1347
|
+
this.y3i_1 = _this__u8e3s4;
|
|
1348
|
+
this.z3i_1 = byteString;
|
|
1349
1349
|
}
|
|
1350
1350
|
ic() {
|
|
1351
1351
|
var suspendResult = this.cc_1;
|
|
@@ -1356,17 +1356,17 @@ function $skipIfFoundCOROUTINE$() {
|
|
|
1356
1356
|
case 0:
|
|
1357
1357
|
this.bc_1 = 4;
|
|
1358
1358
|
this.ac_1 = 1;
|
|
1359
|
-
suspendResult = peek(this.
|
|
1359
|
+
suspendResult = peek(this.y3i_1, this.z3i_1.i1(), this);
|
|
1360
1360
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1361
1361
|
return suspendResult;
|
|
1362
1362
|
}
|
|
1363
1363
|
|
|
1364
1364
|
continue $sm;
|
|
1365
1365
|
case 1:
|
|
1366
|
-
this.
|
|
1367
|
-
if (equals(this.
|
|
1366
|
+
this.a3j_1 = suspendResult;
|
|
1367
|
+
if (equals(this.a3j_1, this.z3i_1)) {
|
|
1368
1368
|
this.ac_1 = 3;
|
|
1369
|
-
suspendResult = discard_0(this.
|
|
1369
|
+
suspendResult = discard_0(this.y3i_1, toLong(this.z3i_1.i1()), this);
|
|
1370
1370
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1371
1371
|
return suspendResult;
|
|
1372
1372
|
}
|
|
@@ -1406,8 +1406,8 @@ function $readPacketCOROUTINE$() {
|
|
|
1406
1406
|
class $ extends CoroutineImpl() {
|
|
1407
1407
|
constructor(_this__u8e3s4, packet, resultContinuation) {
|
|
1408
1408
|
super(resultContinuation);
|
|
1409
|
-
this.
|
|
1410
|
-
this.
|
|
1409
|
+
this.j3j_1 = _this__u8e3s4;
|
|
1410
|
+
this.k3j_1 = packet;
|
|
1411
1411
|
}
|
|
1412
1412
|
ic() {
|
|
1413
1413
|
var suspendResult = this.cc_1;
|
|
@@ -1417,18 +1417,18 @@ function $readPacketCOROUTINE$() {
|
|
|
1417
1417
|
switch (tmp) {
|
|
1418
1418
|
case 0:
|
|
1419
1419
|
this.bc_1 = 6;
|
|
1420
|
-
this.
|
|
1420
|
+
this.l3j_1 = new (Buffer())();
|
|
1421
1421
|
this.ac_1 = 1;
|
|
1422
1422
|
continue $sm;
|
|
1423
1423
|
case 1:
|
|
1424
|
-
if (!(this.
|
|
1424
|
+
if (!(this.l3j_1.i1().a2(toLong(this.k3j_1)) < 0)) {
|
|
1425
1425
|
this.ac_1 = 5;
|
|
1426
1426
|
continue $sm;
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
1429
|
-
if (this.
|
|
1429
|
+
if (this.j3j_1.a3b().o2r()) {
|
|
1430
1430
|
this.ac_1 = 2;
|
|
1431
|
-
suspendResult = this.
|
|
1431
|
+
suspendResult = this.j3j_1.j3b(VOID, this);
|
|
1432
1432
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1433
1433
|
return suspendResult;
|
|
1434
1434
|
}
|
|
@@ -1442,7 +1442,7 @@ function $readPacketCOROUTINE$() {
|
|
|
1442
1442
|
this.ac_1 = 3;
|
|
1443
1443
|
continue $sm;
|
|
1444
1444
|
case 3:
|
|
1445
|
-
if (this.
|
|
1445
|
+
if (this.j3j_1.h3b()) {
|
|
1446
1446
|
this.ac_1 = 5;
|
|
1447
1447
|
continue $sm;
|
|
1448
1448
|
} else {
|
|
@@ -1451,20 +1451,20 @@ function $readPacketCOROUTINE$() {
|
|
|
1451
1451
|
}
|
|
1452
1452
|
|
|
1453
1453
|
case 4:
|
|
1454
|
-
if (get_remaining(this.
|
|
1455
|
-
this.
|
|
1454
|
+
if (get_remaining(this.j3j_1.a3b()).a2(numberToLong(this.k3j_1).q3(this.l3j_1.i1())) > 0) {
|
|
1455
|
+
this.j3j_1.a3b().u2s(this.l3j_1, numberToLong(this.k3j_1).q3(this.l3j_1.i1()));
|
|
1456
1456
|
} else {
|
|
1457
|
-
this.
|
|
1457
|
+
this.j3j_1.a3b().v2s(this.l3j_1);
|
|
1458
1458
|
}
|
|
1459
1459
|
|
|
1460
1460
|
this.ac_1 = 1;
|
|
1461
1461
|
continue $sm;
|
|
1462
1462
|
case 5:
|
|
1463
|
-
if (this.
|
|
1464
|
-
throw EOFException().
|
|
1463
|
+
if (this.l3j_1.i1().a2(toLong(this.k3j_1)) < 0) {
|
|
1464
|
+
throw EOFException().m2r('Not enough data available, required ' + this.k3j_1 + ' bytes but only ' + this.l3j_1.i1().toString() + ' available');
|
|
1465
1465
|
}
|
|
1466
1466
|
|
|
1467
|
-
return this.
|
|
1467
|
+
return this.l3j_1;
|
|
1468
1468
|
case 6:
|
|
1469
1469
|
throw this.dc_1;
|
|
1470
1470
|
}
|
|
@@ -1491,7 +1491,7 @@ function $readByteCOROUTINE$() {
|
|
|
1491
1491
|
class $ extends CoroutineImpl() {
|
|
1492
1492
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
1493
1493
|
super(resultContinuation);
|
|
1494
|
-
this.
|
|
1494
|
+
this.u3j_1 = _this__u8e3s4;
|
|
1495
1495
|
}
|
|
1496
1496
|
ic() {
|
|
1497
1497
|
var suspendResult = this.cc_1;
|
|
@@ -1501,35 +1501,35 @@ function $readByteCOROUTINE$() {
|
|
|
1501
1501
|
switch (tmp) {
|
|
1502
1502
|
case 0:
|
|
1503
1503
|
this.bc_1 = 4;
|
|
1504
|
-
this.
|
|
1505
|
-
if (this.
|
|
1504
|
+
this.v3j_1 = this.u3j_1.a3b();
|
|
1505
|
+
if (this.v3j_1.o2r()) {
|
|
1506
1506
|
this.ac_1 = 1;
|
|
1507
|
-
suspendResult = this.
|
|
1507
|
+
suspendResult = this.u3j_1.j3b(VOID, this);
|
|
1508
1508
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1509
1509
|
return suspendResult;
|
|
1510
1510
|
}
|
|
1511
1511
|
continue $sm;
|
|
1512
1512
|
} else {
|
|
1513
|
-
this.
|
|
1513
|
+
this.w3j_1 = false;
|
|
1514
1514
|
this.ac_1 = 2;
|
|
1515
1515
|
continue $sm;
|
|
1516
1516
|
}
|
|
1517
1517
|
|
|
1518
1518
|
case 1:
|
|
1519
1519
|
var ARGUMENT = suspendResult;
|
|
1520
|
-
this.
|
|
1520
|
+
this.w3j_1 = !ARGUMENT;
|
|
1521
1521
|
this.ac_1 = 2;
|
|
1522
1522
|
continue $sm;
|
|
1523
1523
|
case 2:
|
|
1524
|
-
if (this.
|
|
1525
|
-
throw EOFException().
|
|
1524
|
+
if (this.w3j_1) {
|
|
1525
|
+
throw EOFException().m2r('Not enough data available');
|
|
1526
1526
|
} else {
|
|
1527
1527
|
this.ac_1 = 3;
|
|
1528
1528
|
continue $sm;
|
|
1529
1529
|
}
|
|
1530
1530
|
|
|
1531
1531
|
case 3:
|
|
1532
|
-
return this.
|
|
1532
|
+
return this.v3j_1.r2r();
|
|
1533
1533
|
case 4:
|
|
1534
1534
|
throw this.dc_1;
|
|
1535
1535
|
}
|
|
@@ -1556,7 +1556,7 @@ function $readShortCOROUTINE$() {
|
|
|
1556
1556
|
class $ extends CoroutineImpl() {
|
|
1557
1557
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
1558
1558
|
super(resultContinuation);
|
|
1559
|
-
this.
|
|
1559
|
+
this.f3k_1 = _this__u8e3s4;
|
|
1560
1560
|
}
|
|
1561
1561
|
ic() {
|
|
1562
1562
|
var suspendResult = this.cc_1;
|
|
@@ -1567,14 +1567,14 @@ function $readShortCOROUTINE$() {
|
|
|
1567
1567
|
case 0:
|
|
1568
1568
|
this.bc_1 = 2;
|
|
1569
1569
|
this.ac_1 = 1;
|
|
1570
|
-
suspendResult = awaitUntilReadable(this.
|
|
1570
|
+
suspendResult = awaitUntilReadable(this.f3k_1, 2, this);
|
|
1571
1571
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1572
1572
|
return suspendResult;
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
1575
|
continue $sm;
|
|
1576
1576
|
case 1:
|
|
1577
|
-
return this.
|
|
1577
|
+
return this.f3k_1.a3b().b2s();
|
|
1578
1578
|
case 2:
|
|
1579
1579
|
throw this.dc_1;
|
|
1580
1580
|
}
|
|
@@ -1601,7 +1601,7 @@ function $readLongCOROUTINE$() {
|
|
|
1601
1601
|
class $ extends CoroutineImpl() {
|
|
1602
1602
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
1603
1603
|
super(resultContinuation);
|
|
1604
|
-
this.
|
|
1604
|
+
this.o3k_1 = _this__u8e3s4;
|
|
1605
1605
|
}
|
|
1606
1606
|
ic() {
|
|
1607
1607
|
var suspendResult = this.cc_1;
|
|
@@ -1612,14 +1612,14 @@ function $readLongCOROUTINE$() {
|
|
|
1612
1612
|
case 0:
|
|
1613
1613
|
this.bc_1 = 2;
|
|
1614
1614
|
this.ac_1 = 1;
|
|
1615
|
-
suspendResult = awaitUntilReadable(this.
|
|
1615
|
+
suspendResult = awaitUntilReadable(this.o3k_1, 8, this);
|
|
1616
1616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1617
1617
|
return suspendResult;
|
|
1618
1618
|
}
|
|
1619
1619
|
|
|
1620
1620
|
continue $sm;
|
|
1621
1621
|
case 1:
|
|
1622
|
-
return this.
|
|
1622
|
+
return this.o3k_1.a3b().f2s();
|
|
1623
1623
|
case 2:
|
|
1624
1624
|
throw this.dc_1;
|
|
1625
1625
|
}
|
|
@@ -1646,7 +1646,7 @@ function $readIntCOROUTINE$() {
|
|
|
1646
1646
|
class $ extends CoroutineImpl() {
|
|
1647
1647
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
1648
1648
|
super(resultContinuation);
|
|
1649
|
-
this.
|
|
1649
|
+
this.x3k_1 = _this__u8e3s4;
|
|
1650
1650
|
}
|
|
1651
1651
|
ic() {
|
|
1652
1652
|
var suspendResult = this.cc_1;
|
|
@@ -1657,14 +1657,14 @@ function $readIntCOROUTINE$() {
|
|
|
1657
1657
|
case 0:
|
|
1658
1658
|
this.bc_1 = 2;
|
|
1659
1659
|
this.ac_1 = 1;
|
|
1660
|
-
suspendResult = awaitUntilReadable(this.
|
|
1660
|
+
suspendResult = awaitUntilReadable(this.x3k_1, 4, this);
|
|
1661
1661
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1662
1662
|
return suspendResult;
|
|
1663
1663
|
}
|
|
1664
1664
|
|
|
1665
1665
|
continue $sm;
|
|
1666
1666
|
case 1:
|
|
1667
|
-
return this.
|
|
1667
|
+
return this.x3k_1.a3b().d2s();
|
|
1668
1668
|
case 2:
|
|
1669
1669
|
throw this.dc_1;
|
|
1670
1670
|
}
|
|
@@ -1691,8 +1691,8 @@ function $peekCOROUTINE$() {
|
|
|
1691
1691
|
class $ extends CoroutineImpl() {
|
|
1692
1692
|
constructor(_this__u8e3s4, count, resultContinuation) {
|
|
1693
1693
|
super(resultContinuation);
|
|
1694
|
-
this.
|
|
1695
|
-
this.
|
|
1694
|
+
this.g3l_1 = _this__u8e3s4;
|
|
1695
|
+
this.h3l_1 = count;
|
|
1696
1696
|
}
|
|
1697
1697
|
ic() {
|
|
1698
1698
|
var suspendResult = this.cc_1;
|
|
@@ -1702,10 +1702,10 @@ function $peekCOROUTINE$() {
|
|
|
1702
1702
|
switch (tmp) {
|
|
1703
1703
|
case 0:
|
|
1704
1704
|
this.bc_1 = 3;
|
|
1705
|
-
if (this.
|
|
1705
|
+
if (this.g3l_1.h3b())
|
|
1706
1706
|
return null;
|
|
1707
1707
|
this.ac_1 = 1;
|
|
1708
|
-
suspendResult = this.
|
|
1708
|
+
suspendResult = this.g3l_1.i3b(this.h3l_1, this);
|
|
1709
1709
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1710
1710
|
return suspendResult;
|
|
1711
1711
|
}
|
|
@@ -1721,7 +1721,7 @@ function $peekCOROUTINE$() {
|
|
|
1721
1721
|
}
|
|
1722
1722
|
|
|
1723
1723
|
case 2:
|
|
1724
|
-
return readByteString(this.
|
|
1724
|
+
return readByteString(this.g3l_1.a3b().w2s(), this.h3l_1);
|
|
1725
1725
|
case 3:
|
|
1726
1726
|
throw this.dc_1;
|
|
1727
1727
|
}
|
|
@@ -1748,8 +1748,8 @@ function $awaitUntilReadableCOROUTINE$() {
|
|
|
1748
1748
|
class $ extends CoroutineImpl() {
|
|
1749
1749
|
constructor(_this__u8e3s4, numberOfBytes, resultContinuation) {
|
|
1750
1750
|
super(resultContinuation);
|
|
1751
|
-
this.
|
|
1752
|
-
this.
|
|
1751
|
+
this.q3l_1 = _this__u8e3s4;
|
|
1752
|
+
this.r3l_1 = numberOfBytes;
|
|
1753
1753
|
}
|
|
1754
1754
|
ic() {
|
|
1755
1755
|
var suspendResult = this.cc_1;
|
|
@@ -1760,7 +1760,7 @@ function $awaitUntilReadableCOROUTINE$() {
|
|
|
1760
1760
|
case 0:
|
|
1761
1761
|
this.bc_1 = 3;
|
|
1762
1762
|
this.ac_1 = 1;
|
|
1763
|
-
suspendResult = this.
|
|
1763
|
+
suspendResult = this.q3l_1.i3b(this.r3l_1, this);
|
|
1764
1764
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1765
1765
|
return suspendResult;
|
|
1766
1766
|
}
|
|
@@ -1769,7 +1769,7 @@ function $awaitUntilReadableCOROUTINE$() {
|
|
|
1769
1769
|
case 1:
|
|
1770
1770
|
var ARGUMENT = suspendResult;
|
|
1771
1771
|
if (!ARGUMENT) {
|
|
1772
|
-
throw EOFException().
|
|
1772
|
+
throw EOFException().m2r('Not enough data available');
|
|
1773
1773
|
} else {
|
|
1774
1774
|
this.ac_1 = 2;
|
|
1775
1775
|
continue $sm;
|