@attocash/commons-js 5.0.0 → 5.1.1
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/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
- 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-node.mjs +1 -0
- package/commons-commons-node.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/channels/BufferedChannel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- 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/ByteString.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
- 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/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
- 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 +106 -106
- 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
|
@@ -31,11 +31,11 @@ function Companion() {
|
|
|
31
31
|
if (CompanionClass === VOID) {
|
|
32
32
|
class $ {
|
|
33
33
|
constructor() {
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
34
|
+
this.f2u_1 = 8192;
|
|
35
|
+
this.g2u_1 = 1024;
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
return Segment().
|
|
37
|
+
h2u() {
|
|
38
|
+
return Segment().i2u();
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
initMetadataForCompanion($);
|
|
@@ -48,95 +48,95 @@ function Companion_getInstance() {
|
|
|
48
48
|
return Companion_instance;
|
|
49
49
|
}
|
|
50
50
|
function init_kotlinx_io_Segment(_this__u8e3s4) {
|
|
51
|
-
_this__u8e3s4.
|
|
52
|
-
_this__u8e3s4.
|
|
53
|
-
_this__u8e3s4.
|
|
54
|
-
_this__u8e3s4.
|
|
55
|
-
_this__u8e3s4.
|
|
56
|
-
_this__u8e3s4.
|
|
51
|
+
_this__u8e3s4.t2r_1 = 0;
|
|
52
|
+
_this__u8e3s4.u2r_1 = 0;
|
|
53
|
+
_this__u8e3s4.v2r_1 = null;
|
|
54
|
+
_this__u8e3s4.w2r_1 = false;
|
|
55
|
+
_this__u8e3s4.x2r_1 = null;
|
|
56
|
+
_this__u8e3s4.y2r_1 = null;
|
|
57
57
|
}
|
|
58
58
|
var SegmentClass;
|
|
59
59
|
function Segment() {
|
|
60
60
|
if (SegmentClass === VOID) {
|
|
61
61
|
class $ {
|
|
62
|
-
|
|
63
|
-
var tmp0_safe_receiver = this.
|
|
64
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
62
|
+
g2t() {
|
|
63
|
+
var tmp0_safe_receiver = this.v2r_1;
|
|
64
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j2u();
|
|
65
65
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
66
66
|
}
|
|
67
|
-
static
|
|
67
|
+
static i2u() {
|
|
68
68
|
var $this = createThis(this);
|
|
69
69
|
init_kotlinx_io_Segment($this);
|
|
70
|
-
$this.
|
|
71
|
-
$this.
|
|
72
|
-
$this.
|
|
70
|
+
$this.s2r_1 = new Int8Array(8192);
|
|
71
|
+
$this.w2r_1 = true;
|
|
72
|
+
$this.v2r_1 = null;
|
|
73
73
|
return $this;
|
|
74
74
|
}
|
|
75
|
-
static
|
|
75
|
+
static k2u(data, pos, limit, shareToken, owner) {
|
|
76
76
|
var $this = createThis(this);
|
|
77
77
|
init_kotlinx_io_Segment($this);
|
|
78
|
-
$this.
|
|
79
|
-
$this.
|
|
80
|
-
$this.
|
|
81
|
-
$this.
|
|
82
|
-
$this.
|
|
78
|
+
$this.s2r_1 = data;
|
|
79
|
+
$this.t2r_1 = pos;
|
|
80
|
+
$this.u2r_1 = limit;
|
|
81
|
+
$this.v2r_1 = shareToken;
|
|
82
|
+
$this.w2r_1 = owner;
|
|
83
83
|
return $this;
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
var tmp0_elvis_lhs = this.
|
|
85
|
+
j2s() {
|
|
86
|
+
var tmp0_elvis_lhs = this.v2r_1;
|
|
87
87
|
var tmp;
|
|
88
88
|
if (tmp0_elvis_lhs == null) {
|
|
89
89
|
// Inline function 'kotlin.also' call
|
|
90
|
-
var this_0 = SegmentPool_instance.
|
|
91
|
-
this.
|
|
90
|
+
var this_0 = SegmentPool_instance.l2u();
|
|
91
|
+
this.v2r_1 = this_0;
|
|
92
92
|
tmp = this_0;
|
|
93
93
|
} else {
|
|
94
94
|
tmp = tmp0_elvis_lhs;
|
|
95
95
|
}
|
|
96
96
|
var t = tmp;
|
|
97
|
-
var tmp_0 = this.
|
|
98
|
-
var tmp_1 = this.
|
|
97
|
+
var tmp_0 = this.t2r_1;
|
|
98
|
+
var tmp_1 = this.u2r_1;
|
|
99
99
|
// Inline function 'kotlin.also' call
|
|
100
|
-
t.
|
|
101
|
-
return Segment().
|
|
100
|
+
t.m2u();
|
|
101
|
+
return Segment().k2u(this.s2r_1, tmp_0, tmp_1, t, false);
|
|
102
102
|
}
|
|
103
|
-
|
|
104
|
-
var result = this.
|
|
105
|
-
if (!(this.
|
|
106
|
-
ensureNotNull(this.
|
|
103
|
+
j2t() {
|
|
104
|
+
var result = this.x2r_1;
|
|
105
|
+
if (!(this.y2r_1 == null)) {
|
|
106
|
+
ensureNotNull(this.y2r_1).x2r_1 = this.x2r_1;
|
|
107
107
|
}
|
|
108
|
-
if (!(this.
|
|
109
|
-
ensureNotNull(this.
|
|
108
|
+
if (!(this.x2r_1 == null)) {
|
|
109
|
+
ensureNotNull(this.x2r_1).y2r_1 = this.y2r_1;
|
|
110
110
|
}
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
111
|
+
this.x2r_1 = null;
|
|
112
|
+
this.y2r_1 = null;
|
|
113
113
|
return result;
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
segment.
|
|
117
|
-
segment.
|
|
118
|
-
if (!(this.
|
|
119
|
-
ensureNotNull(this.
|
|
115
|
+
k2s(segment) {
|
|
116
|
+
segment.y2r_1 = this;
|
|
117
|
+
segment.x2r_1 = this.x2r_1;
|
|
118
|
+
if (!(this.x2r_1 == null)) {
|
|
119
|
+
ensureNotNull(this.x2r_1).y2r_1 = segment;
|
|
120
120
|
}
|
|
121
|
-
this.
|
|
121
|
+
this.x2r_1 = segment;
|
|
122
122
|
return segment;
|
|
123
123
|
}
|
|
124
|
-
|
|
124
|
+
h2t(byteCount) {
|
|
125
125
|
// Inline function 'kotlin.require' call
|
|
126
|
-
if (!(byteCount > 0 && byteCount <= (this.
|
|
126
|
+
if (!(byteCount > 0 && byteCount <= (this.u2r_1 - this.t2r_1 | 0))) {
|
|
127
127
|
var message = 'byteCount out of range';
|
|
128
128
|
throw IllegalArgumentException().u(toString(message));
|
|
129
129
|
}
|
|
130
130
|
var prefix;
|
|
131
131
|
if (byteCount >= 1024) {
|
|
132
|
-
prefix = this.
|
|
132
|
+
prefix = this.j2s();
|
|
133
133
|
} else {
|
|
134
|
-
prefix = SegmentPool_instance.
|
|
135
|
-
var tmp0 = this.
|
|
136
|
-
var tmp2 = prefix.
|
|
137
|
-
var tmp4 = this.
|
|
134
|
+
prefix = SegmentPool_instance.a2t();
|
|
135
|
+
var tmp0 = this.s2r_1;
|
|
136
|
+
var tmp2 = prefix.s2r_1;
|
|
137
|
+
var tmp4 = this.t2r_1;
|
|
138
138
|
// Inline function 'kotlin.collections.copyInto' call
|
|
139
|
-
var endIndex = this.
|
|
139
|
+
var endIndex = this.t2r_1 + byteCount | 0;
|
|
140
140
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
141
141
|
// Inline function 'kotlin.js.asDynamic' call
|
|
142
142
|
var tmp = tmp0;
|
|
@@ -144,57 +144,57 @@ function Segment() {
|
|
|
144
144
|
// Inline function 'kotlin.js.asDynamic' call
|
|
145
145
|
arrayCopy(tmp, tmp2, 0, tmp4, endIndex);
|
|
146
146
|
}
|
|
147
|
-
prefix.
|
|
148
|
-
this.
|
|
149
|
-
if (!(this.
|
|
150
|
-
ensureNotNull(this.
|
|
147
|
+
prefix.u2r_1 = prefix.t2r_1 + byteCount | 0;
|
|
148
|
+
this.t2r_1 = this.t2r_1 + byteCount | 0;
|
|
149
|
+
if (!(this.y2r_1 == null)) {
|
|
150
|
+
ensureNotNull(this.y2r_1).k2s(prefix);
|
|
151
151
|
} else {
|
|
152
|
-
prefix.
|
|
153
|
-
this.
|
|
152
|
+
prefix.x2r_1 = this;
|
|
153
|
+
this.y2r_1 = prefix;
|
|
154
154
|
}
|
|
155
155
|
return prefix;
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
l2s() {
|
|
158
158
|
// Inline function 'kotlin.check' call
|
|
159
|
-
if (!!(this.
|
|
159
|
+
if (!!(this.y2r_1 == null)) {
|
|
160
160
|
var message = 'cannot compact';
|
|
161
161
|
throw IllegalStateException().o4(toString(message));
|
|
162
162
|
}
|
|
163
|
-
if (!ensureNotNull(this.
|
|
163
|
+
if (!ensureNotNull(this.y2r_1).w2r_1)
|
|
164
164
|
return this;
|
|
165
|
-
var byteCount = this.
|
|
166
|
-
var availableByteCount = (8192 - ensureNotNull(this.
|
|
165
|
+
var byteCount = this.u2r_1 - this.t2r_1 | 0;
|
|
166
|
+
var availableByteCount = (8192 - ensureNotNull(this.y2r_1).u2r_1 | 0) + (ensureNotNull(this.y2r_1).g2t() ? 0 : ensureNotNull(this.y2r_1).t2r_1) | 0;
|
|
167
167
|
if (byteCount > availableByteCount)
|
|
168
168
|
return this;
|
|
169
|
-
var predecessor = this.
|
|
170
|
-
this.
|
|
171
|
-
var successor = this.
|
|
169
|
+
var predecessor = this.y2r_1;
|
|
170
|
+
this.i2t(ensureNotNull(predecessor), byteCount);
|
|
171
|
+
var successor = this.j2t();
|
|
172
172
|
// Inline function 'kotlin.check' call
|
|
173
173
|
if (!(successor == null)) {
|
|
174
174
|
throw IllegalStateException().o4('Check failed.');
|
|
175
175
|
}
|
|
176
|
-
SegmentPool_instance.
|
|
176
|
+
SegmentPool_instance.u2t(this);
|
|
177
177
|
return predecessor;
|
|
178
178
|
}
|
|
179
|
-
|
|
180
|
-
var _unary__edvuaz = this.
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
179
|
+
m2t(byte) {
|
|
180
|
+
var _unary__edvuaz = this.u2r_1;
|
|
181
|
+
this.u2r_1 = _unary__edvuaz + 1 | 0;
|
|
182
|
+
this.s2r_1[_unary__edvuaz] = byte;
|
|
183
183
|
}
|
|
184
|
-
|
|
185
|
-
var data = this.
|
|
186
|
-
var limit = this.
|
|
184
|
+
o2t(short) {
|
|
185
|
+
var data = this.s2r_1;
|
|
186
|
+
var limit = this.u2r_1;
|
|
187
187
|
var _unary__edvuaz = limit;
|
|
188
188
|
limit = _unary__edvuaz + 1 | 0;
|
|
189
189
|
data[_unary__edvuaz] = toByte((short >>> 8 | 0) & 255);
|
|
190
190
|
var _unary__edvuaz_0 = limit;
|
|
191
191
|
limit = _unary__edvuaz_0 + 1 | 0;
|
|
192
192
|
data[_unary__edvuaz_0] = toByte(short & 255);
|
|
193
|
-
this.
|
|
193
|
+
this.u2r_1 = limit;
|
|
194
194
|
}
|
|
195
|
-
|
|
196
|
-
var data = this.
|
|
197
|
-
var limit = this.
|
|
195
|
+
q2t(int) {
|
|
196
|
+
var data = this.s2r_1;
|
|
197
|
+
var limit = this.u2r_1;
|
|
198
198
|
var _unary__edvuaz = limit;
|
|
199
199
|
limit = _unary__edvuaz + 1 | 0;
|
|
200
200
|
data[_unary__edvuaz] = toByte((int >>> 24 | 0) & 255);
|
|
@@ -207,11 +207,11 @@ function Segment() {
|
|
|
207
207
|
var _unary__edvuaz_2 = limit;
|
|
208
208
|
limit = _unary__edvuaz_2 + 1 | 0;
|
|
209
209
|
data[_unary__edvuaz_2] = toByte(int & 255);
|
|
210
|
-
this.
|
|
210
|
+
this.u2r_1 = limit;
|
|
211
211
|
}
|
|
212
|
-
|
|
213
|
-
var data = this.
|
|
214
|
-
var limit = this.
|
|
212
|
+
s2t(long) {
|
|
213
|
+
var data = this.s2r_1;
|
|
214
|
+
var limit = this.u2r_1;
|
|
215
215
|
var _unary__edvuaz = limit;
|
|
216
216
|
limit = _unary__edvuaz + 1 | 0;
|
|
217
217
|
data[_unary__edvuaz] = long.b4(56).c4(new (Long())(255, 0)).f4();
|
|
@@ -236,16 +236,16 @@ function Segment() {
|
|
|
236
236
|
var _unary__edvuaz_6 = limit;
|
|
237
237
|
limit = _unary__edvuaz_6 + 1 | 0;
|
|
238
238
|
data[_unary__edvuaz_6] = long.c4(new (Long())(255, 0)).f4();
|
|
239
|
-
this.
|
|
239
|
+
this.u2r_1 = limit;
|
|
240
240
|
}
|
|
241
|
-
|
|
242
|
-
var _unary__edvuaz = this.
|
|
243
|
-
this.
|
|
244
|
-
return this.
|
|
241
|
+
a2s() {
|
|
242
|
+
var _unary__edvuaz = this.t2r_1;
|
|
243
|
+
this.t2r_1 = _unary__edvuaz + 1 | 0;
|
|
244
|
+
return this.s2r_1[_unary__edvuaz];
|
|
245
245
|
}
|
|
246
|
-
|
|
247
|
-
var data = this.
|
|
248
|
-
var pos = this.
|
|
246
|
+
c2s() {
|
|
247
|
+
var data = this.s2r_1;
|
|
248
|
+
var pos = this.t2r_1;
|
|
249
249
|
var _unary__edvuaz = pos;
|
|
250
250
|
pos = _unary__edvuaz + 1 | 0;
|
|
251
251
|
// Inline function 'kotlinx.io.and' call
|
|
@@ -255,12 +255,12 @@ function Segment() {
|
|
|
255
255
|
// Inline function 'kotlinx.io.and' call
|
|
256
256
|
var tmp$ret$1 = data[_unary__edvuaz_0] & 255;
|
|
257
257
|
var s = toShort(tmp | tmp$ret$1);
|
|
258
|
-
this.
|
|
258
|
+
this.t2r_1 = pos;
|
|
259
259
|
return s;
|
|
260
260
|
}
|
|
261
|
-
|
|
262
|
-
var data = this.
|
|
263
|
-
var pos = this.
|
|
261
|
+
e2s() {
|
|
262
|
+
var data = this.s2r_1;
|
|
263
|
+
var pos = this.t2r_1;
|
|
264
264
|
var _unary__edvuaz = pos;
|
|
265
265
|
pos = _unary__edvuaz + 1 | 0;
|
|
266
266
|
// Inline function 'kotlinx.io.and' call
|
|
@@ -277,12 +277,12 @@ function Segment() {
|
|
|
277
277
|
pos = _unary__edvuaz_2 + 1 | 0;
|
|
278
278
|
// Inline function 'kotlinx.io.and' call
|
|
279
279
|
var i = tmp_1 | data[_unary__edvuaz_2] & 255;
|
|
280
|
-
this.
|
|
280
|
+
this.t2r_1 = pos;
|
|
281
281
|
return i;
|
|
282
282
|
}
|
|
283
|
-
|
|
284
|
-
var data = this.
|
|
285
|
-
var pos = this.
|
|
283
|
+
g2s() {
|
|
284
|
+
var data = this.s2r_1;
|
|
285
|
+
var pos = this.t2r_1;
|
|
286
286
|
var _unary__edvuaz = pos;
|
|
287
287
|
pos = _unary__edvuaz + 1 | 0;
|
|
288
288
|
var tmp0 = data[_unary__edvuaz];
|
|
@@ -338,106 +338,106 @@ function Segment() {
|
|
|
338
338
|
var other_6 = new (Long())(255, 0);
|
|
339
339
|
var tmp$ret$7 = toLong(tmp0_6).c4(other_6);
|
|
340
340
|
var v = tmp_5.d4(tmp$ret$7);
|
|
341
|
-
this.
|
|
341
|
+
this.t2r_1 = pos;
|
|
342
342
|
return v;
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
i2t(sink, byteCount) {
|
|
345
345
|
// Inline function 'kotlin.check' call
|
|
346
|
-
if (!sink.
|
|
346
|
+
if (!sink.w2r_1) {
|
|
347
347
|
var message = 'only owner can write';
|
|
348
348
|
throw IllegalStateException().o4(toString(message));
|
|
349
349
|
}
|
|
350
|
-
if ((sink.
|
|
351
|
-
if (sink.
|
|
350
|
+
if ((sink.u2r_1 + byteCount | 0) > 8192) {
|
|
351
|
+
if (sink.g2t())
|
|
352
352
|
throw IllegalArgumentException().te();
|
|
353
|
-
if (((sink.
|
|
353
|
+
if (((sink.u2r_1 + byteCount | 0) - sink.t2r_1 | 0) > 8192)
|
|
354
354
|
throw IllegalArgumentException().te();
|
|
355
|
-
var tmp0 = sink.
|
|
356
|
-
var tmp2 = sink.
|
|
357
|
-
var tmp4 = sink.
|
|
355
|
+
var tmp0 = sink.s2r_1;
|
|
356
|
+
var tmp2 = sink.s2r_1;
|
|
357
|
+
var tmp4 = sink.t2r_1;
|
|
358
358
|
// Inline function 'kotlin.collections.copyInto' call
|
|
359
|
-
var endIndex = sink.
|
|
359
|
+
var endIndex = sink.u2r_1;
|
|
360
360
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
361
361
|
// Inline function 'kotlin.js.asDynamic' call
|
|
362
362
|
var tmp = tmp0;
|
|
363
363
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
364
364
|
// Inline function 'kotlin.js.asDynamic' call
|
|
365
365
|
arrayCopy(tmp, tmp2, 0, tmp4, endIndex);
|
|
366
|
-
sink.
|
|
367
|
-
sink.
|
|
366
|
+
sink.u2r_1 = sink.u2r_1 - sink.t2r_1 | 0;
|
|
367
|
+
sink.t2r_1 = 0;
|
|
368
368
|
}
|
|
369
|
-
var tmp0_0 = this.
|
|
370
|
-
var tmp2_0 = sink.
|
|
371
|
-
var tmp4_0 = sink.
|
|
372
|
-
var tmp6 = this.
|
|
369
|
+
var tmp0_0 = this.s2r_1;
|
|
370
|
+
var tmp2_0 = sink.s2r_1;
|
|
371
|
+
var tmp4_0 = sink.u2r_1;
|
|
372
|
+
var tmp6 = this.t2r_1;
|
|
373
373
|
// Inline function 'kotlin.collections.copyInto' call
|
|
374
|
-
var endIndex_0 = this.
|
|
374
|
+
var endIndex_0 = this.t2r_1 + byteCount | 0;
|
|
375
375
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
376
376
|
// Inline function 'kotlin.js.asDynamic' call
|
|
377
377
|
var tmp_0 = tmp0_0;
|
|
378
378
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
379
379
|
// Inline function 'kotlin.js.asDynamic' call
|
|
380
380
|
arrayCopy(tmp_0, tmp2_0, tmp4_0, tmp6, endIndex_0);
|
|
381
|
-
sink.
|
|
382
|
-
this.
|
|
381
|
+
sink.u2r_1 = sink.u2r_1 + byteCount | 0;
|
|
382
|
+
this.t2r_1 = this.t2r_1 + byteCount | 0;
|
|
383
383
|
}
|
|
384
|
-
|
|
384
|
+
r2s(dst, dstStartOffset, dstEndOffset) {
|
|
385
385
|
var len = dstEndOffset - dstStartOffset | 0;
|
|
386
|
-
var tmp0 = this.
|
|
387
|
-
var tmp6 = this.
|
|
386
|
+
var tmp0 = this.s2r_1;
|
|
387
|
+
var tmp6 = this.t2r_1;
|
|
388
388
|
// Inline function 'kotlin.collections.copyInto' call
|
|
389
|
-
var endIndex = this.
|
|
389
|
+
var endIndex = this.t2r_1 + len | 0;
|
|
390
390
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
391
391
|
// Inline function 'kotlin.js.asDynamic' call
|
|
392
392
|
var tmp = tmp0;
|
|
393
393
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
394
394
|
// Inline function 'kotlin.js.asDynamic' call
|
|
395
395
|
arrayCopy(tmp, dst, dstStartOffset, tmp6, endIndex);
|
|
396
|
-
this.
|
|
396
|
+
this.t2r_1 = this.t2r_1 + len | 0;
|
|
397
397
|
}
|
|
398
|
-
|
|
399
|
-
var tmp2 = this.
|
|
398
|
+
d2t(src, srcStartOffset, srcEndOffset) {
|
|
399
|
+
var tmp2 = this.s2r_1;
|
|
400
400
|
// Inline function 'kotlin.collections.copyInto' call
|
|
401
|
-
var destinationOffset = this.
|
|
401
|
+
var destinationOffset = this.u2r_1;
|
|
402
402
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
403
403
|
// Inline function 'kotlin.js.asDynamic' call
|
|
404
404
|
var tmp = src;
|
|
405
405
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
406
406
|
// Inline function 'kotlin.js.asDynamic' call
|
|
407
407
|
arrayCopy(tmp, tmp2, destinationOffset, srcStartOffset, srcEndOffset);
|
|
408
|
-
this.
|
|
408
|
+
this.u2r_1 = this.u2r_1 + (srcEndOffset - srcStartOffset | 0) | 0;
|
|
409
409
|
}
|
|
410
410
|
i1() {
|
|
411
|
-
return this.
|
|
411
|
+
return this.u2r_1 - this.t2r_1 | 0;
|
|
412
412
|
}
|
|
413
|
-
|
|
414
|
-
return this.
|
|
413
|
+
c2t() {
|
|
414
|
+
return this.s2r_1.length - this.u2r_1 | 0;
|
|
415
415
|
}
|
|
416
|
-
|
|
417
|
-
return this.
|
|
416
|
+
n2u(readOnly) {
|
|
417
|
+
return this.s2r_1;
|
|
418
418
|
}
|
|
419
|
-
|
|
420
|
-
return this.
|
|
419
|
+
o2s(index) {
|
|
420
|
+
return this.s2r_1[this.t2r_1 + index | 0];
|
|
421
421
|
}
|
|
422
|
-
|
|
423
|
-
this.
|
|
422
|
+
o2u(index, value) {
|
|
423
|
+
this.s2r_1[this.u2r_1 + index | 0] = value;
|
|
424
424
|
}
|
|
425
|
-
|
|
426
|
-
var d = this.
|
|
427
|
-
var l = this.
|
|
425
|
+
p2u(index, b0, b1) {
|
|
426
|
+
var d = this.s2r_1;
|
|
427
|
+
var l = this.u2r_1;
|
|
428
428
|
d[l + index | 0] = b0;
|
|
429
429
|
d[(l + index | 0) + 1 | 0] = b1;
|
|
430
430
|
}
|
|
431
|
-
|
|
432
|
-
var d = this.
|
|
433
|
-
var l = this.
|
|
431
|
+
q2u(index, b0, b1, b2) {
|
|
432
|
+
var d = this.s2r_1;
|
|
433
|
+
var l = this.u2r_1;
|
|
434
434
|
d[l + index | 0] = b0;
|
|
435
435
|
d[(l + index | 0) + 1 | 0] = b1;
|
|
436
436
|
d[(l + index | 0) + 2 | 0] = b2;
|
|
437
437
|
}
|
|
438
|
-
|
|
439
|
-
var d = this.
|
|
440
|
-
var l = this.
|
|
438
|
+
r2u(index, b0, b1, b2, b3) {
|
|
439
|
+
var d = this.s2r_1;
|
|
440
|
+
var l = this.u2r_1;
|
|
441
441
|
d[l + index | 0] = b0;
|
|
442
442
|
d[(l + index | 0) + 1 | 0] = b1;
|
|
443
443
|
d[(l + index | 0) + 2 | 0] = b2;
|
|
@@ -470,10 +470,10 @@ function AlwaysSharedCopyTracker() {
|
|
|
470
470
|
super();
|
|
471
471
|
AlwaysSharedCopyTracker_instance = this;
|
|
472
472
|
}
|
|
473
|
-
|
|
473
|
+
j2u() {
|
|
474
474
|
return true;
|
|
475
475
|
}
|
|
476
|
-
|
|
476
|
+
m2u() {
|
|
477
477
|
return Unit_instance;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
@@ -499,8 +499,8 @@ function indexOf(_this__u8e3s4, byte, startOffset, endOffset) {
|
|
|
499
499
|
var message_0 = '' + endOffset;
|
|
500
500
|
throw IllegalArgumentException().u(toString(message_0));
|
|
501
501
|
}
|
|
502
|
-
var p = _this__u8e3s4.
|
|
503
|
-
var data = _this__u8e3s4.
|
|
502
|
+
var p = _this__u8e3s4.t2r_1;
|
|
503
|
+
var data = _this__u8e3s4.n2u(true);
|
|
504
504
|
var inductionVariable = startOffset;
|
|
505
505
|
if (inductionVariable < endOffset)
|
|
506
506
|
do {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["Z:/BuildAgent/work/22e3a7db6b861ba7/core/common/src/Segment.kt","src/kotlin/util/Standard.kt","src/kotlin/util/Preconditions.kt","js/src/generated/_ArraysJs.kt","Z:/BuildAgent/work/22e3a7db6b861ba7/core/common/src/-Util.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["new","<get-shared>","data","pos","limit","shareToken","owner","sharedCopy","t","pop","result","push","segment","split","byteCount","message","prefix","compact","availableByteCount","predecessor","successor","writeByte","byte","writeShort","short","writeInt","int","writeLong","long","readByte","readShort","s","readInt","i","readLong","v","writeTo","sink","readTo","dst","dstStartOffset","dstEndOffset","len","write","src","srcStartOffset","srcEndOffset","<get-size>","<get-remainingCapacity>","dataAsByteArray","readOnly","getUnchecked","index","setUnchecked","value","b0","b1","d","l","b2","b3","isEmpty","<this>","addCopy","indexOf","startOffset","endOffset","p","idx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuakC,iB;QAGS,iB;;SAEnCA,CAAAA,EAC8B;A,QAAS,sB;MAAD,C;;;;;;;;;;;iCA7V9C,a,EAAA;A,EAO4B,uB;EAWE,uB;EAasB,0B;EAIlB,2B;EAMA,0B;EAMA,0B;AAyTlC,C;;;;;SAlVQC,CAAAA,EAAQ;A,YAAA,+B;YAAA,iBAAa,oCAAb,kBAAa,M;QAAe,OAA5B,yBAAuB,KAAvB,iB;MAA2B,C;;;;QA4BnC,KAAK,SAAO,cAAU,IAAV,C;QACZ,KAAK,SAAQ,I;QACb,KAAK,SAAc,I;;;iBAGHC,I,EAAiBC,G,EAAUC,K,EAAYC,U,EAAiCC,K;;;QACxF,KAAK,SAAO,I;QACZ,KAAK,SAAM,G;QACX,KAAK,SAAQ,K;QACb,KAAK,SAAc,U;QACnB,KAAK,SAAQ,K;;;SAQjBC,CAAAA,EAAmC;A,YACvB,2B;;QAAA,2B;;uBAA2B,0B;UAC/B,aCrDF,M;gBACC,M;;gBDmDK,c;;YAARC,O;oBAGqB,I,CAAA,K;oBAAK,I,CAAA,K;;QAAO,CAAY,M;QAA7C,qBAAe,IAAf,CAAe,KAAf,gBAAiC,CAAjC,EAA0D,KAA1D,C;MACJ,C;SAMAC,CAAAA,EAA6B;A,YACzBC,SAAa,IAAbA,CAAkB,K;QACd,WAAK,KAAL,IAAa,IAAb,E,CAAmB;A,UACnB,mBAAK,KAAL,CAAY,SAAO,IAAP,CAAY,K;QAC5B,C;QACI,WAAK,KAAL,IAAa,IAAb,E,CAAmB;A,UACnB,mBAAK,KAAL,CAAY,SAAO,IAAP,CAAY,K;QAC5B,C;QACA,IAAK,SAAO,I;QACZ,IAAK,SAAO,I;Q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A9B,C;OAAA;A,UAAKkE,MAAO,iB;MAAA,6C;MACJ,SAAK,IAAI,GAAT,UAAiB,IAAjB,C,CAAuB;A,QACvB,OAAO,G;MACX,C;;IAHJ,4BAA8B,SAA9B,C;EAKA,OAAO,E;AACX,C;;;;;;;;"}
|
|
@@ -13,15 +13,15 @@ function SegmentPool() {
|
|
|
13
13
|
if (SegmentPoolClass === VOID) {
|
|
14
14
|
class $ {
|
|
15
15
|
constructor() {
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
16
|
+
this.y2s_1 = 0;
|
|
17
|
+
this.z2s_1 = 0;
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
return Companion_instance.
|
|
19
|
+
a2t() {
|
|
20
|
+
return Companion_instance.h2u();
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
u2t(segment) {
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
l2u() {
|
|
25
25
|
return AlwaysSharedCopyTracker_getInstance();
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["Z:/BuildAgent/work/22e3a7db6b861ba7/core/js/src/SegmentPool.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["take","recycle","segment","tracker"],"mappings":";;;;;;;;;;;;;;;QAQ+B,c;QAEC,c;;SAE5BA,CAAAA,EAA6B;A,QAAa,OAAL,wB;MAAI,C;SAEzCC,CAAmBC,OAAnBD,EAAqC;A,MACrC,C;SAEAE,CAAAA,EAA2C;A,QAAuB,4C;MAAD,C;;;;;;;;;;;;;;;;;;"}
|
|
@@ -11,10 +11,10 @@ function write$default(source, startIndex, endIndex, $super) {
|
|
|
11
11
|
endIndex = endIndex === VOID ? source.length : endIndex;
|
|
12
12
|
var tmp;
|
|
13
13
|
if ($super === VOID) {
|
|
14
|
-
this.
|
|
14
|
+
this.b2t(source, startIndex, endIndex);
|
|
15
15
|
tmp = Unit_instance;
|
|
16
16
|
} else {
|
|
17
|
-
tmp = $super.
|
|
17
|
+
tmp = $super.b2t.call(this, source, startIndex, endIndex);
|
|
18
18
|
}
|
|
19
19
|
return tmp;
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["Z:/BuildAgent/work/22e3a7db6b861ba7/core/common/src/Sink.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["write$default","source","startIndex","endIndex"],"mappings":";;;;;;;;sBAuFIA,CAAiBC,M,EAAmBC,U,EAAqBC,Q,QAAzDH,E;qCAAsD,C;iCAAmB,M,CAAO,M;;;;;;;;;C;;;;;;;;;;;;;;"}
|
|
@@ -19,7 +19,7 @@ function writeUByte(_this__u8e3s4, byte) {
|
|
|
19
19
|
_init_properties_Sinks_kt__92ml72();
|
|
20
20
|
// Inline function 'kotlin.UByte.toByte' call
|
|
21
21
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(byte);
|
|
22
|
-
_this__u8e3s4.
|
|
22
|
+
_this__u8e3s4.l2t(tmp$ret$0);
|
|
23
23
|
}
|
|
24
24
|
function writeUShortLe(_this__u8e3s4, short) {
|
|
25
25
|
_init_properties_Sinks_kt__92ml72();
|
|
@@ -35,11 +35,11 @@ function writeULongLe(_this__u8e3s4, long) {
|
|
|
35
35
|
}
|
|
36
36
|
function writeLongLe(_this__u8e3s4, long) {
|
|
37
37
|
_init_properties_Sinks_kt__92ml72();
|
|
38
|
-
_this__u8e3s4.
|
|
38
|
+
_this__u8e3s4.r2t(reverseBytes(long));
|
|
39
39
|
}
|
|
40
40
|
function writeShortLe(_this__u8e3s4, short) {
|
|
41
41
|
_init_properties_Sinks_kt__92ml72();
|
|
42
|
-
_this__u8e3s4.
|
|
42
|
+
_this__u8e3s4.n2t(reverseBytes_0(short));
|
|
43
43
|
}
|
|
44
44
|
var properties_initialized_Sinks_kt_u7wmts;
|
|
45
45
|
function _init_properties_Sinks_kt__92ml72() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["Z:/BuildAgent/work/22e3a7db6b861ba7/core/common/src/Sinks.kt","unsigned/src/kotlin/UByte.kt","unsigned/src/kotlin/UShort.kt","unsigned/src/kotlin/ULong.kt","src/kotlin/CharCode.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["writeUByte","<this>","byte","writeUShortLe","short","writeULongLe","long","writeLongLe","writeShortLe","<init properties Sinks.kt>"],"mappings":";;;;;;;;;;;;;;;;;mBAqLAA,CAAWC,a,EAAgBC,IAA3BF,EAAwC;A;;kBC0FD,gCDzFzB,ICyFyB,C;EDzFnC,kBAAe,SAAf,C;AACJ,C;sBAsDAG,CAAWF,a,EAAmBG,KAA9BD,EAA6C;A;;kBE6CJ,gCF5CxB,KE4CwB,C;EF5CrC,4BAAmB,SAAnB,C;AACJ,C;qBA0BAE,CAAWJ,a,EAAkBK,IAA7BD,EAA0C;A;;kBGyDH,gCHxDvB,IGwDuB,C;EHxDnC,2BAAiB,SAAjB,C;AACJ,C;oBArNAE,CAAWN,a,EAAiBK,IAA5BC,EAAwC;A;EACpC,aAAK,KAAe,aAAL,IAAK,CAAf,C;AACT,C;qBA9BAC,CAAWP,a,EAAkBG,KAA7BI,EAA2C;A;EACvC,aAAK,KAAiB,eAAN,KAAM,CAAjB,C;AACT,C;;0CA5BAC,CAAAA,E;;;QAY8B,O;QAAA,sBAAU,EAAV,C;WAAA,MAAU,E,EAAV;A,UAAA,W;;MACpB,YAAK,EAAL,C;;qBAAS,8B;gBIgC2B,wBAAL,MAAK,C;;;qBJhCZ,8B;gBIgCY,wBAAL,MAAK,CJhCZ,GAAW,E;;MADf,eAC0B,OAAnD,QAA+C,KAAI,K;MAD1B,iB;IAE9B,C;sBAF8B,K;;C;;;;;"}
|