@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
|
@@ -20,7 +20,7 @@ function indexOf_0(_this__u8e3s4, byte, startIndex, endIndex) {
|
|
|
20
20
|
if (startIndex.equals(endOffset))
|
|
21
21
|
return new (Long())(-1, -1);
|
|
22
22
|
// Inline function 'kotlinx.io.seek' call
|
|
23
|
-
if (_this__u8e3s4.
|
|
23
|
+
if (_this__u8e3s4.g2r_1 == null) {
|
|
24
24
|
var o = new (Long())(-1, -1);
|
|
25
25
|
if (o.equals(new (Long())(-1, -1))) {
|
|
26
26
|
return new (Long())(-1, -1);
|
|
@@ -49,19 +49,19 @@ function indexOf_0(_this__u8e3s4, byte, startIndex, endIndex) {
|
|
|
49
49
|
// Inline function 'kotlin.Long.plus' call
|
|
50
50
|
var other = segment.i1();
|
|
51
51
|
offset = tmp0_0.p3(toLong(other));
|
|
52
|
-
segment = segment.
|
|
52
|
+
segment = segment.x2r_1;
|
|
53
53
|
}
|
|
54
54
|
while (!(segment == null) && offset.a2(endOffset) < 0);
|
|
55
55
|
return new (Long())(-1, -1);
|
|
56
56
|
}
|
|
57
57
|
if (_this__u8e3s4.i1().q3(startIndex).a2(startIndex) < 0) {
|
|
58
|
-
var s = _this__u8e3s4.
|
|
58
|
+
var s = _this__u8e3s4.h2r_1;
|
|
59
59
|
var offset_0 = _this__u8e3s4.i1();
|
|
60
60
|
$l$loop: while (!(s == null) && offset_0.a2(startIndex) > 0) {
|
|
61
|
-
offset_0 = offset_0.q3(toLong(s.
|
|
61
|
+
offset_0 = offset_0.q3(toLong(s.u2r_1 - s.t2r_1 | 0));
|
|
62
62
|
if (offset_0.a2(startIndex) <= 0)
|
|
63
63
|
break $l$loop;
|
|
64
|
-
s = s.
|
|
64
|
+
s = s.y2r_1;
|
|
65
65
|
}
|
|
66
66
|
var tmp0_1 = s;
|
|
67
67
|
var o_0 = offset_0;
|
|
@@ -92,21 +92,21 @@ function indexOf_0(_this__u8e3s4, byte, startIndex, endIndex) {
|
|
|
92
92
|
// Inline function 'kotlin.Long.plus' call
|
|
93
93
|
var other_0 = segment_0.i1();
|
|
94
94
|
offset_1 = tmp0_3.p3(toLong(other_0));
|
|
95
|
-
segment_0 = segment_0.
|
|
95
|
+
segment_0 = segment_0.x2r_1;
|
|
96
96
|
}
|
|
97
97
|
while (!(segment_0 == null) && offset_1.a2(endOffset) < 0);
|
|
98
98
|
return new (Long())(-1, -1);
|
|
99
99
|
} else {
|
|
100
|
-
var s_0 = _this__u8e3s4.
|
|
100
|
+
var s_0 = _this__u8e3s4.g2r_1;
|
|
101
101
|
var offset_2 = new (Long())(0, 0);
|
|
102
102
|
$l$loop_0: while (!(s_0 == null)) {
|
|
103
103
|
var tmp0_4 = offset_2;
|
|
104
104
|
// Inline function 'kotlin.Long.plus' call
|
|
105
|
-
var other_1 = s_0.
|
|
105
|
+
var other_1 = s_0.u2r_1 - s_0.t2r_1 | 0;
|
|
106
106
|
var nextOffset = tmp0_4.p3(toLong(other_1));
|
|
107
107
|
if (nextOffset.a2(startIndex) > 0)
|
|
108
108
|
break $l$loop_0;
|
|
109
|
-
s_0 = s_0.
|
|
109
|
+
s_0 = s_0.x2r_1;
|
|
110
110
|
offset_2 = nextOffset;
|
|
111
111
|
}
|
|
112
112
|
var tmp0_5 = s_0;
|
|
@@ -138,7 +138,7 @@ function indexOf_0(_this__u8e3s4, byte, startIndex, endIndex) {
|
|
|
138
138
|
// Inline function 'kotlin.Long.plus' call
|
|
139
139
|
var other_2 = segment_1.i1();
|
|
140
140
|
offset_3 = tmp0_7.p3(toLong(other_2));
|
|
141
|
-
segment_1 = segment_1.
|
|
141
|
+
segment_1 = segment_1.x2r_1;
|
|
142
142
|
}
|
|
143
143
|
while (!(segment_1 == null) && offset_3.a2(endOffset) < 0);
|
|
144
144
|
return new (Long())(-1, -1);
|
|
@@ -5,7 +5,7 @@ import { readByteArray1fhzfwi2j014k as readByteArray } from './Sources.mjs';
|
|
|
5
5
|
//region block: pre-declaration
|
|
6
6
|
//endregion
|
|
7
7
|
function readByteString(_this__u8e3s4, byteCount) {
|
|
8
|
-
return UnsafeByteStringOperations_instance.
|
|
8
|
+
return UnsafeByteStringOperations_instance.f2r(readByteArray(_this__u8e3s4, byteCount));
|
|
9
9
|
}
|
|
10
10
|
//region block: exports
|
|
11
11
|
export {
|
|
@@ -19,19 +19,19 @@ function PeekSource() {
|
|
|
19
19
|
if (PeekSourceClass === VOID) {
|
|
20
20
|
class $ {
|
|
21
21
|
constructor(upstream) {
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
22
|
+
this.w2t_1 = upstream;
|
|
23
|
+
this.x2t_1 = this.w2t_1.n2r();
|
|
24
|
+
this.y2t_1 = this.x2t_1.g2r_1;
|
|
25
25
|
var tmp = this;
|
|
26
|
-
var tmp0_safe_receiver = this.
|
|
27
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
28
|
-
tmp.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
26
|
+
var tmp0_safe_receiver = this.x2t_1.g2r_1;
|
|
27
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t2r_1;
|
|
28
|
+
tmp.z2t_1 = tmp1_elvis_lhs == null ? -1 : tmp1_elvis_lhs;
|
|
29
|
+
this.a2u_1 = false;
|
|
30
|
+
this.b2u_1 = new (Long())(0, 0);
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
s2s(sink, byteCount) {
|
|
33
33
|
// Inline function 'kotlin.check' call
|
|
34
|
-
if (!!this.
|
|
34
|
+
if (!!this.a2u_1) {
|
|
35
35
|
var message = 'Source is closed.';
|
|
36
36
|
throw IllegalStateException().o4(toString(message));
|
|
37
37
|
}
|
|
@@ -42,29 +42,29 @@ function PeekSource() {
|
|
|
42
42
|
throw IllegalArgumentException().u(toString(message_0));
|
|
43
43
|
}
|
|
44
44
|
// Inline function 'kotlin.check' call
|
|
45
|
-
if (!(this.
|
|
45
|
+
if (!(this.y2t_1 == null || (this.y2t_1 === this.x2t_1.g2r_1 && this.z2t_1 === ensureNotNull(this.x2t_1.g2r_1).t2r_1))) {
|
|
46
46
|
var message_1 = 'Peek source is invalid because upstream source was used';
|
|
47
47
|
throw IllegalStateException().o4(toString(message_1));
|
|
48
48
|
}
|
|
49
49
|
if (byteCount.equals(new (Long())(0, 0)))
|
|
50
50
|
return new (Long())(0, 0);
|
|
51
51
|
// Inline function 'kotlin.Long.plus' call
|
|
52
|
-
var tmp$ret$7 = this.
|
|
53
|
-
if (!this.
|
|
52
|
+
var tmp$ret$7 = this.b2u_1.p3(toLong(1));
|
|
53
|
+
if (!this.w2t_1.q2r(tmp$ret$7))
|
|
54
54
|
return new (Long())(-1, -1);
|
|
55
|
-
if (this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
55
|
+
if (this.y2t_1 == null && !(this.x2t_1.g2r_1 == null)) {
|
|
56
|
+
this.y2t_1 = this.x2t_1.g2r_1;
|
|
57
|
+
this.z2t_1 = ensureNotNull(this.x2t_1.g2r_1).t2r_1;
|
|
58
58
|
}
|
|
59
59
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
60
|
-
var b = this.
|
|
60
|
+
var b = this.x2t_1.i1().q3(this.b2u_1);
|
|
61
61
|
var toCopy = byteCount.a2(b) <= 0 ? byteCount : b;
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
62
|
+
this.x2t_1.i2s(sink, this.b2u_1, this.b2u_1.p3(toCopy));
|
|
63
|
+
this.b2u_1 = this.b2u_1.p3(toCopy);
|
|
64
64
|
return toCopy;
|
|
65
65
|
}
|
|
66
66
|
v5() {
|
|
67
|
-
this.
|
|
67
|
+
this.a2u_1 = true;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
initMetadataForClass($, 'PeekSource', VOID, VOID, [AutoCloseable()]);
|
|
@@ -23,17 +23,17 @@ function RealSource() {
|
|
|
23
23
|
if (RealSourceClass === VOID) {
|
|
24
24
|
class $ {
|
|
25
25
|
constructor(source) {
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
26
|
+
this.c2u_1 = source;
|
|
27
|
+
this.d2u_1 = false;
|
|
28
|
+
this.e2u_1 = new (Buffer())();
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
return this.
|
|
30
|
+
n2r() {
|
|
31
|
+
return this.e2u_1;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
s2s(sink, byteCount) {
|
|
34
34
|
// Inline function 'kotlinx.io.RealSource.checkNotClosed' call
|
|
35
35
|
// Inline function 'kotlin.check' call
|
|
36
|
-
if (!!this.
|
|
36
|
+
if (!!this.d2u_1) {
|
|
37
37
|
var message = 'Source is closed.';
|
|
38
38
|
throw IllegalStateException().o4(toString(message));
|
|
39
39
|
}
|
|
@@ -42,33 +42,33 @@ function RealSource() {
|
|
|
42
42
|
var message_0 = 'byteCount: ' + byteCount.toString();
|
|
43
43
|
throw IllegalArgumentException().u(toString(message_0));
|
|
44
44
|
}
|
|
45
|
-
if (this.
|
|
46
|
-
var read = this.
|
|
45
|
+
if (this.e2u_1.i1().equals(new (Long())(0, 0))) {
|
|
46
|
+
var read = this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0));
|
|
47
47
|
if (read.equals(new (Long())(-1, -1)))
|
|
48
48
|
return new (Long())(-1, -1);
|
|
49
49
|
}
|
|
50
50
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
51
|
-
var b = this.
|
|
51
|
+
var b = this.e2u_1.i1();
|
|
52
52
|
var toRead = byteCount.a2(b) <= 0 ? byteCount : b;
|
|
53
|
-
return this.
|
|
53
|
+
return this.e2u_1.s2s(sink, toRead);
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
o2r() {
|
|
56
56
|
// Inline function 'kotlinx.io.RealSource.checkNotClosed' call
|
|
57
57
|
// Inline function 'kotlin.check' call
|
|
58
|
-
if (!!this.
|
|
58
|
+
if (!!this.d2u_1) {
|
|
59
59
|
var message = 'Source is closed.';
|
|
60
60
|
throw IllegalStateException().o4(toString(message));
|
|
61
61
|
}
|
|
62
|
-
return this.
|
|
62
|
+
return this.e2u_1.o2r() && this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1));
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
if (!this.
|
|
66
|
-
throw EOFException().
|
|
64
|
+
p2r(byteCount) {
|
|
65
|
+
if (!this.q2r(byteCount))
|
|
66
|
+
throw EOFException().m2r("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
q2r(byteCount) {
|
|
69
69
|
// Inline function 'kotlinx.io.RealSource.checkNotClosed' call
|
|
70
70
|
// Inline function 'kotlin.check' call
|
|
71
|
-
if (!!this.
|
|
71
|
+
if (!!this.d2u_1) {
|
|
72
72
|
var message = 'Source is closed.';
|
|
73
73
|
throw IllegalStateException().o4(toString(message));
|
|
74
74
|
}
|
|
@@ -77,92 +77,92 @@ function RealSource() {
|
|
|
77
77
|
var message_0 = 'byteCount: ' + byteCount.toString();
|
|
78
78
|
throw IllegalArgumentException().u(toString(message_0));
|
|
79
79
|
}
|
|
80
|
-
while (this.
|
|
81
|
-
if (this.
|
|
80
|
+
while (this.e2u_1.i1().a2(byteCount) < 0) {
|
|
81
|
+
if (this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1)))
|
|
82
82
|
return false;
|
|
83
83
|
}
|
|
84
84
|
return true;
|
|
85
85
|
}
|
|
86
|
-
|
|
87
|
-
this.
|
|
88
|
-
return this.
|
|
86
|
+
r2r() {
|
|
87
|
+
this.p2r(new (Long())(1, 0));
|
|
88
|
+
return this.e2u_1.r2r();
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
q2s(sink, startIndex, endIndex) {
|
|
91
91
|
// Inline function 'kotlinx.io.checkBounds' call
|
|
92
92
|
var size = sink.length;
|
|
93
93
|
checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
|
|
94
|
-
if (this.
|
|
95
|
-
var read = this.
|
|
94
|
+
if (this.e2u_1.i1().equals(new (Long())(0, 0))) {
|
|
95
|
+
var read = this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0));
|
|
96
96
|
if (read.equals(new (Long())(-1, -1)))
|
|
97
97
|
return -1;
|
|
98
98
|
}
|
|
99
99
|
var tmp0 = endIndex - startIndex | 0;
|
|
100
100
|
// Inline function 'kotlinx.io.minOf' call
|
|
101
|
-
var b = this.
|
|
101
|
+
var b = this.e2u_1.i1();
|
|
102
102
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
103
103
|
var a = toLong(tmp0);
|
|
104
104
|
var toRead = (a.a2(b) <= 0 ? a : b).c2();
|
|
105
|
-
return this.
|
|
105
|
+
return this.e2u_1.q2s(sink, startIndex, startIndex + toRead | 0);
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
u2s(sink, byteCount) {
|
|
108
108
|
try {
|
|
109
|
-
this.
|
|
109
|
+
this.p2r(byteCount);
|
|
110
110
|
} catch ($p) {
|
|
111
111
|
if ($p instanceof EOFException()) {
|
|
112
112
|
var e = $p;
|
|
113
|
-
sink.
|
|
113
|
+
sink.t2s(this.e2u_1, this.e2u_1.i1());
|
|
114
114
|
throw e;
|
|
115
115
|
} else {
|
|
116
116
|
throw $p;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
this.
|
|
119
|
+
this.e2u_1.u2s(sink, byteCount);
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
v2s(sink) {
|
|
122
122
|
var totalBytesWritten = new (Long())(0, 0);
|
|
123
|
-
while (!this.
|
|
124
|
-
var emitByteCount = this.
|
|
123
|
+
while (!this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1))) {
|
|
124
|
+
var emitByteCount = this.e2u_1.m2s();
|
|
125
125
|
if (emitByteCount.a2(new (Long())(0, 0)) > 0) {
|
|
126
126
|
totalBytesWritten = totalBytesWritten.p3(emitByteCount);
|
|
127
|
-
sink.
|
|
127
|
+
sink.t2s(this.e2u_1, emitByteCount);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
if (this.
|
|
131
|
-
totalBytesWritten = totalBytesWritten.p3(this.
|
|
132
|
-
sink.
|
|
130
|
+
if (this.e2u_1.i1().a2(new (Long())(0, 0)) > 0) {
|
|
131
|
+
totalBytesWritten = totalBytesWritten.p3(this.e2u_1.i1());
|
|
132
|
+
sink.t2s(this.e2u_1, this.e2u_1.i1());
|
|
133
133
|
}
|
|
134
134
|
return totalBytesWritten;
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
this.
|
|
138
|
-
return this.
|
|
136
|
+
b2s() {
|
|
137
|
+
this.p2r(new (Long())(2, 0));
|
|
138
|
+
return this.e2u_1.b2s();
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
this.
|
|
142
|
-
return this.
|
|
140
|
+
d2s() {
|
|
141
|
+
this.p2r(new (Long())(4, 0));
|
|
142
|
+
return this.e2u_1.d2s();
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
this.
|
|
146
|
-
return this.
|
|
144
|
+
f2s() {
|
|
145
|
+
this.p2r(new (Long())(8, 0));
|
|
146
|
+
return this.e2u_1.f2s();
|
|
147
147
|
}
|
|
148
|
-
|
|
148
|
+
w2s() {
|
|
149
149
|
// Inline function 'kotlinx.io.RealSource.checkNotClosed' call
|
|
150
150
|
// Inline function 'kotlin.check' call
|
|
151
|
-
if (!!this.
|
|
151
|
+
if (!!this.d2u_1) {
|
|
152
152
|
var message = 'Source is closed.';
|
|
153
153
|
throw IllegalStateException().o4(toString(message));
|
|
154
154
|
}
|
|
155
155
|
return buffered(new (PeekSource())(this));
|
|
156
156
|
}
|
|
157
157
|
v5() {
|
|
158
|
-
if (this.
|
|
158
|
+
if (this.d2u_1)
|
|
159
159
|
return Unit_instance;
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
160
|
+
this.d2u_1 = true;
|
|
161
|
+
this.c2u_1.v5();
|
|
162
|
+
this.e2u_1.z2();
|
|
163
163
|
}
|
|
164
164
|
toString() {
|
|
165
|
-
return 'buffered(' + toString(this.
|
|
165
|
+
return 'buffered(' + toString(this.c2u_1) + ')';
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
initMetadataForClass($, 'RealSource', VOID, VOID, [Source()]);
|