UNPKG

@cpaassdk/cpaas-sdk

Version:
827 lines (826 loc) 898 kB
(function (root, factory) { if (typeof define === 'function' && define.amd) define(['exports', './kotlin_kotlin.js', './kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.js', './kotlin_org_jetbrains_kotlinx_atomicfu.js'], factory); else if (typeof exports === 'object') factory(module.exports, require('./kotlin_kotlin.js'), require('./kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.js'), require('./kotlin_org_jetbrains_kotlinx_atomicfu.js')); else { if (typeof kotlin_kotlin === 'undefined') { throw new Error("Error loading module 'kotlin_io_ktor_ktor_io'. Its dependency 'kotlin_kotlin' was not found. Please, check whether 'kotlin_kotlin' is loaded prior to 'kotlin_io_ktor_ktor_io'."); } if (typeof kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core === 'undefined') { throw new Error("Error loading module 'kotlin_io_ktor_ktor_io'. Its dependency 'kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core' was not found. Please, check whether 'kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core' is loaded prior to 'kotlin_io_ktor_ktor_io'."); } if (typeof kotlin_org_jetbrains_kotlinx_atomicfu === 'undefined') { throw new Error("Error loading module 'kotlin_io_ktor_ktor_io'. Its dependency 'kotlin_org_jetbrains_kotlinx_atomicfu' was not found. Please, check whether 'kotlin_org_jetbrains_kotlinx_atomicfu' is loaded prior to 'kotlin_io_ktor_ktor_io'."); } root.kotlin_io_ktor_ktor_io = factory(typeof kotlin_io_ktor_ktor_io === 'undefined' ? {} : kotlin_io_ktor_ktor_io, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlinx_atomicfu); } }(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlinx_atomicfu) { //region block: imports var imul = Math.imul; var CoroutineImpl = kotlin_kotlin.$crossModule$.CoroutineImpl; var _get_COROUTINE_SUSPENDED__2870145053 = kotlin_kotlin.$crossModule$._get_COROUTINE_SUSPENDED__2870145053; var Unit_getInstance = kotlin_kotlin.$crossModule$.Unit_getInstance; var ensureNotNull = kotlin_kotlin.$crossModule$.ensureNotNull; var THROW_CCE = kotlin_kotlin.$crossModule$.THROW_CCE; var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$crossModule$.IllegalArgumentException_init_$Create$_1; var isInterface = kotlin_kotlin.$crossModule$.isInterface; var Long = kotlin_kotlin.$crossModule$.Long; var coerceAtMost = kotlin_kotlin.$crossModule$.coerceAtMost; var toLong = kotlin_kotlin.$crossModule$.toLong; var toString = kotlin_kotlin.$crossModule$.toString_1; var StringBuilder_init_$Create$ = kotlin_kotlin.$crossModule$.StringBuilder_init_$Create$_1; var throwKotlinNothingValueException = kotlin_kotlin.$crossModule$.throwKotlinNothingValueException; var CancellationException_init_$Create$ = kotlin_kotlin.$crossModule$.CancellationException_init_$Create$; var SuspendFunction1 = kotlin_kotlin.$crossModule$.SuspendFunction1; var Companion_getInstance = kotlin_kotlin.$crossModule$.Companion_getInstance_2; var CancellationException = kotlin_kotlin.$crossModule$.CancellationException; var CancellationException_init_$Init$ = kotlin_kotlin.$crossModule$.CancellationException_init_$Init$; var captureStack = kotlin_kotlin.$crossModule$.captureStack; var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.Job_1; var EmptyCoroutineContext_getInstance = kotlin_kotlin.$crossModule$.EmptyCoroutineContext_getInstance; var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.CoroutineScope_1; var cancel$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.cancel$default; var cancel$default_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.cancel$default_1; var invokeOnCompletion$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.invokeOnCompletion$default; var Key_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.Key_getInstance; var launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.launch$default; var Key_getInstance_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.Key_getInstance_2; var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.Dispatchers_getInstance; var equals = kotlin_kotlin.$crossModule$.equals; var toByte = kotlin_kotlin.$crossModule$.toByte; var toShort = kotlin_kotlin.$crossModule$.toShort; var IllegalStateException_init_$Create$ = kotlin_kotlin.$crossModule$.IllegalStateException_init_$Create$; var StringBuilder_init_$Create$_0 = kotlin_kotlin.$crossModule$.StringBuilder_init_$Create$; var IntCompanionObject_getInstance = kotlin_kotlin.$crossModule$.IntCompanionObject_getInstance; var charSequenceLength = kotlin_kotlin.$crossModule$.charSequenceLength; var numberToLong = kotlin_kotlin.$crossModule$.numberToLong; var numberToChar = kotlin_kotlin.$crossModule$.numberToChar; var charSequenceGet = kotlin_kotlin.$crossModule$.charSequenceGet; var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$crossModule$.UnsupportedOperationException_init_$Create$; var Appendable = kotlin_kotlin.$crossModule$.Appendable; var coerceAtLeast = kotlin_kotlin.$crossModule$.coerceAtLeast; var coerceAtMost_0 = kotlin_kotlin.$crossModule$.coerceAtMost_1; var Char__toInt_impl_2402388783 = kotlin_kotlin.$crossModule$.Char__toInt_impl_2402388783; var Exception = kotlin_kotlin.$crossModule$.Exception; var Exception_init_$Init$ = kotlin_kotlin.$crossModule$.Exception_init_$Init$; var _UShort___init__impl__3115094534 = kotlin_kotlin.$crossModule$._UShort___init__impl__3115094534; var _UShort___get_data__impl__26876597 = kotlin_kotlin.$crossModule$._UShort___get_data__impl__26876597; var Annotation = kotlin_kotlin.$crossModule$.Annotation; var toRawBits = kotlin_kotlin.$crossModule$.toRawBits; var toRawBits_0 = kotlin_kotlin.$crossModule$.toRawBits_1; var UnsupportedOperationException_init_$Create$_0 = kotlin_kotlin.$crossModule$.UnsupportedOperationException_init_$Create$_1; var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$crossModule$.atomic$ref$1; var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$crossModule$.atomic$int$1; var KMutableProperty1 = kotlin_kotlin.$crossModule$.KMutableProperty1; var getPropertyCallableRef = kotlin_kotlin.$crossModule$.getPropertyCallableRef; var Companion_getInstance_0 = kotlin_kotlin.$crossModule$.Companion_getInstance_7; var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$crossModule$.IndexOutOfBoundsException_init_$Create$_1; var CharSequence = kotlin_kotlin.$crossModule$.CharSequence; var isLowSurrogate = kotlin_kotlin.$crossModule$.isLowSurrogate; var isHighSurrogate = kotlin_kotlin.$crossModule$.isHighSurrogate; var Char = kotlin_kotlin.$crossModule$.Char; var _Char___init__impl__380027157 = kotlin_kotlin.$crossModule$._Char___init__impl__380027157; var Job$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$crossModule$.Job$default; var hashCode = kotlin_kotlin.$crossModule$.hashCode; var lazy = kotlin_kotlin.$crossModule$.lazy_1; var KProperty1 = kotlin_kotlin.$crossModule$.KProperty1; var FloatCompanionObject_getInstance = kotlin_kotlin.$crossModule$.FloatCompanionObject_getInstance; var floatFromBits = kotlin_kotlin.$crossModule$.floatFromBits; var DoubleCompanionObject_getInstance = kotlin_kotlin.$crossModule$.DoubleCompanionObject_getInstance; var doubleFromBits = kotlin_kotlin.$crossModule$.doubleFromBits; var until = kotlin_kotlin.$crossModule$.until; var step = kotlin_kotlin.$crossModule$.step; var replace$default = kotlin_kotlin.$crossModule$.replace$default_1; var getStringHashCode = kotlin_kotlin.$crossModule$.getStringHashCode; var charSequenceSubSequence = kotlin_kotlin.$crossModule$.charSequenceSubSequence; var extendThrowable = kotlin_kotlin.$crossModule$.extendThrowable; var isObject = kotlin_kotlin.$crossModule$.isObject; var ReadWriteProperty = kotlin_kotlin.$crossModule$.ReadWriteProperty; var ReadOnlyProperty = kotlin_kotlin.$crossModule$.ReadOnlyProperty; var THROW_ISE = kotlin_kotlin.$crossModule$.THROW_ISE; var Enum = kotlin_kotlin.$crossModule$.Enum; var IndexOutOfBoundsException_init_$Create$_0 = kotlin_kotlin.$crossModule$.IndexOutOfBoundsException_init_$Create$; var Exception_init_$Init$_0 = kotlin_kotlin.$crossModule$.Exception_init_$Init$_1; var isCharSequence = kotlin_kotlin.$crossModule$.isCharSequence; var trim = kotlin_kotlin.$crossModule$.trim; var decodeToString = kotlin_kotlin.$crossModule$.decodeToString; var setOf = kotlin_kotlin.$crossModule$.setOf_1; var fillArrayVal = kotlin_kotlin.$crossModule$.fillArrayVal; //endregion 'use strict'; //region block: pre-declaration function peekTo$default(destination, destinationOffset, offset, min, max, $cont, $mask0, $handler) { if (!(($mask0 & 4) === 0)) offset = new Long(0, 0); if (!(($mask0 & 8) === 0)) min = new Long(1, 0); if (!(($mask0 & 16) === 0)) max = Companion_getInstance()._get_MAX_VALUE__3201573499_i2z81x_k$(); return $handler == null ? this.peekTo_iy27cy_k$(destination, destinationOffset, offset, min, max, $cont) : $handler(destination, destinationOffset, offset, min, max, $cont); } $tryAwaitCOROUTINE$49.prototype = Object.create(CoroutineImpl.prototype); $tryAwaitCOROUTINE$49.prototype.constructor = $tryAwaitCOROUTINE$49; _no_name_provided__3_2832250973.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973.prototype.constructor = _no_name_provided__3_2832250973; _no_name_provided__3_2832250973_0.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_0.prototype.constructor = _no_name_provided__3_2832250973_0; _no_name_provided__3_2832250973_1.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_1.prototype.constructor = _no_name_provided__3_2832250973_1; _no_name_provided__3_2832250973_2.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_2.prototype.constructor = _no_name_provided__3_2832250973_2; ByteChannelSequentialBase$readUTF8LineTo$slambda.prototype = Object.create(CoroutineImpl.prototype); ByteChannelSequentialBase$readUTF8LineTo$slambda.prototype.constructor = ByteChannelSequentialBase$readUTF8LineTo$slambda; ByteChannelSequentialBase$peekTo$slambda.prototype = Object.create(CoroutineImpl.prototype); ByteChannelSequentialBase$peekTo$slambda.prototype.constructor = ByteChannelSequentialBase$peekTo$slambda; $awaitAtLeastNBytesAvailableForWriteCOROUTINE$0.prototype = Object.create(CoroutineImpl.prototype); $awaitAtLeastNBytesAvailableForWriteCOROUTINE$0.prototype.constructor = $awaitAtLeastNBytesAvailableForWriteCOROUTINE$0; $awaitAtLeastNBytesAvailableForReadCOROUTINE$1.prototype = Object.create(CoroutineImpl.prototype); $awaitAtLeastNBytesAvailableForReadCOROUTINE$1.prototype.constructor = $awaitAtLeastNBytesAvailableForReadCOROUTINE$1; $writeByteCOROUTINE$2.prototype = Object.create(CoroutineImpl.prototype); $writeByteCOROUTINE$2.prototype.constructor = $writeByteCOROUTINE$2; $writeShortCOROUTINE$3.prototype = Object.create(CoroutineImpl.prototype); $writeShortCOROUTINE$3.prototype.constructor = $writeShortCOROUTINE$3; $writeIntCOROUTINE$4.prototype = Object.create(CoroutineImpl.prototype); $writeIntCOROUTINE$4.prototype.constructor = $writeIntCOROUTINE$4; $writeLongCOROUTINE$5.prototype = Object.create(CoroutineImpl.prototype); $writeLongCOROUTINE$5.prototype.constructor = $writeLongCOROUTINE$5; $writeFloatCOROUTINE$6.prototype = Object.create(CoroutineImpl.prototype); $writeFloatCOROUTINE$6.prototype.constructor = $writeFloatCOROUTINE$6; $writeDoubleCOROUTINE$7.prototype = Object.create(CoroutineImpl.prototype); $writeDoubleCOROUTINE$7.prototype.constructor = $writeDoubleCOROUTINE$7; $writePacketCOROUTINE$8.prototype = Object.create(CoroutineImpl.prototype); $writePacketCOROUTINE$8.prototype.constructor = $writePacketCOROUTINE$8; $writeFullyCOROUTINE$9.prototype = Object.create(CoroutineImpl.prototype); $writeFullyCOROUTINE$9.prototype.constructor = $writeFullyCOROUTINE$9; $writeFullyCOROUTINE$10.prototype = Object.create(CoroutineImpl.prototype); $writeFullyCOROUTINE$10.prototype.constructor = $writeFullyCOROUTINE$10; $writeFullyCOROUTINE$11.prototype = Object.create(CoroutineImpl.prototype); $writeFullyCOROUTINE$11.prototype.constructor = $writeFullyCOROUTINE$11; $writeAvailableCOROUTINE$12.prototype = Object.create(CoroutineImpl.prototype); $writeAvailableCOROUTINE$12.prototype.constructor = $writeAvailableCOROUTINE$12; $writeAvailableCOROUTINE$13.prototype = Object.create(CoroutineImpl.prototype); $writeAvailableCOROUTINE$13.prototype.constructor = $writeAvailableCOROUTINE$13; $readByteCOROUTINE$14.prototype = Object.create(CoroutineImpl.prototype); $readByteCOROUTINE$14.prototype.constructor = $readByteCOROUTINE$14; $readByteSlowCOROUTINE$15.prototype = Object.create(CoroutineImpl.prototype); $readByteSlowCOROUTINE$15.prototype.constructor = $readByteSlowCOROUTINE$15; $readShortCOROUTINE$16.prototype = Object.create(CoroutineImpl.prototype); $readShortCOROUTINE$16.prototype.constructor = $readShortCOROUTINE$16; $readShortSlowCOROUTINE$17.prototype = Object.create(CoroutineImpl.prototype); $readShortSlowCOROUTINE$17.prototype.constructor = $readShortSlowCOROUTINE$17; $readIntCOROUTINE$18.prototype = Object.create(CoroutineImpl.prototype); $readIntCOROUTINE$18.prototype.constructor = $readIntCOROUTINE$18; $readIntSlowCOROUTINE$19.prototype = Object.create(CoroutineImpl.prototype); $readIntSlowCOROUTINE$19.prototype.constructor = $readIntSlowCOROUTINE$19; $readLongCOROUTINE$20.prototype = Object.create(CoroutineImpl.prototype); $readLongCOROUTINE$20.prototype.constructor = $readLongCOROUTINE$20; $readLongSlowCOROUTINE$21.prototype = Object.create(CoroutineImpl.prototype); $readLongSlowCOROUTINE$21.prototype.constructor = $readLongSlowCOROUTINE$21; $readFloatCOROUTINE$22.prototype = Object.create(CoroutineImpl.prototype); $readFloatCOROUTINE$22.prototype.constructor = $readFloatCOROUTINE$22; $readFloatSlowCOROUTINE$23.prototype = Object.create(CoroutineImpl.prototype); $readFloatSlowCOROUTINE$23.prototype.constructor = $readFloatSlowCOROUTINE$23; $readDoubleCOROUTINE$24.prototype = Object.create(CoroutineImpl.prototype); $readDoubleCOROUTINE$24.prototype.constructor = $readDoubleCOROUTINE$24; $readDoubleSlowCOROUTINE$25.prototype = Object.create(CoroutineImpl.prototype); $readDoubleSlowCOROUTINE$25.prototype.constructor = $readDoubleSlowCOROUTINE$25; $readRemainingCOROUTINE$26.prototype = Object.create(CoroutineImpl.prototype); $readRemainingCOROUTINE$26.prototype.constructor = $readRemainingCOROUTINE$26; $readRemainingSuspendCOROUTINE$27.prototype = Object.create(CoroutineImpl.prototype); $readRemainingSuspendCOROUTINE$27.prototype.constructor = $readRemainingSuspendCOROUTINE$27; $readPacketCOROUTINE$28.prototype = Object.create(CoroutineImpl.prototype); $readPacketCOROUTINE$28.prototype.constructor = $readPacketCOROUTINE$28; $readPacketSuspendCOROUTINE$29.prototype = Object.create(CoroutineImpl.prototype); $readPacketSuspendCOROUTINE$29.prototype.constructor = $readPacketSuspendCOROUTINE$29; $readAvailableCOROUTINE$30.prototype = Object.create(CoroutineImpl.prototype); $readAvailableCOROUTINE$30.prototype.constructor = $readAvailableCOROUTINE$30; $readFullyCOROUTINE$31.prototype = Object.create(CoroutineImpl.prototype); $readFullyCOROUTINE$31.prototype.constructor = $readFullyCOROUTINE$31; $readFullySuspendCOROUTINE$32.prototype = Object.create(CoroutineImpl.prototype); $readFullySuspendCOROUTINE$32.prototype.constructor = $readFullySuspendCOROUTINE$32; $readAvailableCOROUTINE$33.prototype = Object.create(CoroutineImpl.prototype); $readAvailableCOROUTINE$33.prototype.constructor = $readAvailableCOROUTINE$33; $readFullyCOROUTINE$34.prototype = Object.create(CoroutineImpl.prototype); $readFullyCOROUTINE$34.prototype.constructor = $readFullyCOROUTINE$34; $readFullySuspendCOROUTINE$35.prototype = Object.create(CoroutineImpl.prototype); $readFullySuspendCOROUTINE$35.prototype.constructor = $readFullySuspendCOROUTINE$35; $readBooleanCOROUTINE$36.prototype = Object.create(CoroutineImpl.prototype); $readBooleanCOROUTINE$36.prototype.constructor = $readBooleanCOROUTINE$36; $readBooleanSlowCOROUTINE$37.prototype = Object.create(CoroutineImpl.prototype); $readBooleanSlowCOROUTINE$37.prototype.constructor = $readBooleanSlowCOROUTINE$37; $awaitInternalAtLeast1COROUTINE$38.prototype = Object.create(CoroutineImpl.prototype); $awaitInternalAtLeast1COROUTINE$38.prototype.constructor = $awaitInternalAtLeast1COROUTINE$38; $awaitSuspendCOROUTINE$39.prototype = Object.create(CoroutineImpl.prototype); $awaitSuspendCOROUTINE$39.prototype.constructor = $awaitSuspendCOROUTINE$39; $discardCOROUTINE$40.prototype = Object.create(CoroutineImpl.prototype); $discardCOROUTINE$40.prototype.constructor = $discardCOROUTINE$40; $discardSuspendCOROUTINE$41.prototype = Object.create(CoroutineImpl.prototype); $discardSuspendCOROUTINE$41.prototype.constructor = $discardSuspendCOROUTINE$41; $readSuspendableSessionCOROUTINE$42.prototype = Object.create(CoroutineImpl.prototype); $readSuspendableSessionCOROUTINE$42.prototype.constructor = $readSuspendableSessionCOROUTINE$42; $readUTF8LineCOROUTINE$43.prototype = Object.create(CoroutineImpl.prototype); $readUTF8LineCOROUTINE$43.prototype.constructor = $readUTF8LineCOROUTINE$43; $readNSlowCOROUTINE$44.prototype = Object.create(CoroutineImpl.prototype); $readNSlowCOROUTINE$44.prototype.constructor = $readNSlowCOROUTINE$44; $writeAvailableSuspendCOROUTINE$45.prototype = Object.create(CoroutineImpl.prototype); $writeAvailableSuspendCOROUTINE$45.prototype.constructor = $writeAvailableSuspendCOROUTINE$45; $writeAvailableSuspendCOROUTINE$46.prototype = Object.create(CoroutineImpl.prototype); $writeAvailableSuspendCOROUTINE$46.prototype.constructor = $writeAvailableSuspendCOROUTINE$46; $awaitFreeSpaceCOROUTINE$47.prototype = Object.create(CoroutineImpl.prototype); $awaitFreeSpaceCOROUTINE$47.prototype.constructor = $awaitFreeSpaceCOROUTINE$47; $peekToCOROUTINE$48.prototype = Object.create(CoroutineImpl.prototype); $peekToCOROUTINE$48.prototype.constructor = $peekToCOROUTINE$48; function request$default(atLeast, $mask0, $handler) { if (!(($mask0 & 1) === 0)) atLeast = 1; return $handler == null ? this.request_z0ru36_k$(atLeast) : $handler(atLeast); } function await$default(atLeast, $cont, $mask0, $handler) { if (!(($mask0 & 1) === 0)) atLeast = 1; return $handler == null ? this.await_a8ddvc_k$(atLeast, $cont) : $handler(atLeast, $cont); } $copyAndCloseCOROUTINE$50.prototype = Object.create(CoroutineImpl.prototype); $copyAndCloseCOROUTINE$50.prototype.constructor = $copyAndCloseCOROUTINE$50; ClosedWriteChannelException.prototype = Object.create(CancellationException.prototype); ClosedWriteChannelException.prototype.constructor = ClosedWriteChannelException; launchChannel$slambda.prototype = Object.create(CoroutineImpl.prototype); launchChannel$slambda.prototype.constructor = launchChannel$slambda; MalformedInputException.prototype = Object.create(Error.prototype); MalformedInputException.prototype.constructor = MalformedInputException; TooLongLineException.prototype = Object.create(MalformedInputException.prototype); TooLongLineException.prototype.constructor = TooLongLineException; _no_name_provided__3_2832250973_3.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_3.prototype.constructor = _no_name_provided__3_2832250973_3; _no_name_provided__3_2832250973_4.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_4.prototype.constructor = _no_name_provided__3_2832250973_4; _no_name_provided__3_2832250973_5.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_5.prototype.constructor = _no_name_provided__3_2832250973_5; function _set_byteOrder__1594503007(newValue) { if (!newValue.equals(ByteOrder_BIG_ENDIAN_getInstance())) { throw IllegalArgumentException_init_$Create$('Only BIG_ENDIAN is supported'); } } function _get_byteOrder__3366239211() { return ByteOrder_BIG_ENDIAN_getInstance(); } function peekTo$default_0(destination, destinationOffset, offset, min, max, $mask0, $handler) { if (!(($mask0 & 4) === 0)) offset = new Long(0, 0); if (!(($mask0 & 8) === 0)) min = new Long(1, 0); if (!(($mask0 & 16) === 0)) max = Companion_getInstance()._get_MAX_VALUE__3201573499_i2z81x_k$(); return $handler == null ? this.peekTo_56eakp_k$(destination, destinationOffset, offset, min, max) : $handler(destination, destinationOffset, offset, min, max); } function readShort() { return readShort_1(this); } function readInt() { return readInt_1(this); } function readLong() { return readLong_1(this); } function readFloat() { return readFloat_1(this); } function readDouble() { return readDouble_1(this); } function readFully(dst, offset, length) { return readFully_17(this, dst, offset, length); } function readFully_0(dst, offset, length) { return readFully_18(this, dst, offset, length); } function readFully_1(dst, offset, length) { return readFully_19(this, dst, offset, length); } function readFully_2(dst, offset, length) { return readFully_20(this, dst, offset, length); } function readFully_3(dst, offset, length) { return readFully_21(this, dst, offset, length); } function readFully_4(dst, offset, length) { return readFully_22(this, dst, offset, length); } function readFully_5(dst, length) { return readFully_23(this, dst, length); } function readAvailable(dst, offset, length) { return readAvailable_17(this, dst, offset, length); } function readAvailable_0(dst, offset, length) { return readAvailable_18(this, dst, offset, length); } function readAvailable_1(dst, offset, length) { return readAvailable_19(this, dst, offset, length); } function readAvailable_2(dst, offset, length) { return readAvailable_20(this, dst, offset, length); } function readAvailable_3(dst, offset, length) { return readAvailable_21(this, dst, offset, length); } function readAvailable_4(dst, offset, length) { return readAvailable_22(this, dst, offset, length); } function readAvailable_5(dst, length) { return readAvailable_23(this, dst, length); } function readFully_6(dst, offset, length) { return readFully_24(this, dst, offset, length); } function readFully_7(dst, offset, length) { return readFully_25(this, dst, offset, length); } function readFully_8(dst, offset, length) { return readFully_26(this, dst, offset, length); } function readAvailable_6(dst, offset, length) { return readAvailable_24(this, dst, offset, length); } function readAvailable_7(dst, offset, length) { return readAvailable_25(this, dst, offset, length); } function readAvailable_8(dst, offset, length) { return readAvailable_26(this, dst, offset, length); } function peekTo(buffer) { return peekTo$default_1(this, buffer, 0, 0, 0, 14, null); } function writeShort(v) { writeShort_1(this, v); } function writeInt(v) { writeInt_1(this, v); } function writeLong(v) { writeLong_1(this, v); } function writeFloat(v) { writeFloat_1(this, v); } function writeDouble(v) { writeDouble_1(this, v); } function writeFully(src, offset, length) { writeFully_14(this, src, offset, length); } function writeFully_0(src, offset, length) { writeFully_15(this, src, offset, length); } function writeFully_1(src, offset, length) { writeFully_16(this, src, offset, length); } function writeFully_2(src, offset, length) { writeFully_17(this, src, offset, length); } function writeFully_3(src, offset, length) { writeFully_18(this, src, offset, length); } function writeFully_4(src, offset, length) { writeFully_19(this, src, offset, length); } function writeFully_5(src, length) { writeFully_20(this, src, length); } function fill(n, v) { fill_2(this, n, v); } _no_name_provided__3_2832250973_6.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_6.prototype.constructor = _no_name_provided__3_2832250973_6; _no_name_provided__3_2832250973_7.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_7.prototype.constructor = _no_name_provided__3_2832250973_7; _no_name_provided__3_2832250973_8.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_8.prototype.constructor = _no_name_provided__3_2832250973_8; _no_name_provided__3_2832250973_9.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_9.prototype.constructor = _no_name_provided__3_2832250973_9; InsufficientSpaceException.prototype = Object.create(Exception.prototype); InsufficientSpaceException.prototype.constructor = InsufficientSpaceException; _no_name_provided__3_2832250973_10.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_10.prototype.constructor = _no_name_provided__3_2832250973_10; _no_name_provided__3_2832250973_11.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_11.prototype.constructor = _no_name_provided__3_2832250973_11; function close() { this.dispose_3n44we_k$(); } DefaultBufferPool.prototype = Object.create(DefaultPool.prototype); DefaultBufferPool.prototype.constructor = DefaultBufferPool; _no_name_provided__3_5_3078889683.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683.prototype.constructor = _no_name_provided__3_5_3078889683; _no_name_provided__3_5_3078889683_0.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_0.prototype.constructor = _no_name_provided__3_5_3078889683_0; _no_name_provided__3_5_3078889683_1.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_1.prototype.constructor = _no_name_provided__3_5_3078889683_1; _no_name_provided__3_5_3078889683_2.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_2.prototype.constructor = _no_name_provided__3_5_3078889683_2; _no_name_provided__3_5_3078889683_3.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_3.prototype.constructor = _no_name_provided__3_5_3078889683_3; _no_name_provided__3_5_3078889683_4.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_4.prototype.constructor = _no_name_provided__3_5_3078889683_4; _no_name_provided__3_5_3078889683_5.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_5.prototype.constructor = _no_name_provided__3_5_3078889683_5; _no_name_provided__3_5_3078889683_6.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_6.prototype.constructor = _no_name_provided__3_5_3078889683_6; _no_name_provided__3_5_3078889683_7.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_7.prototype.constructor = _no_name_provided__3_5_3078889683_7; _no_name_provided__3_5_3078889683_8.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_8.prototype.constructor = _no_name_provided__3_5_3078889683_8; _no_name_provided__3_5_3078889683_9.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_9.prototype.constructor = _no_name_provided__3_5_3078889683_9; _no_name_provided__3_5_3078889683_10.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_10.prototype.constructor = _no_name_provided__3_5_3078889683_10; _no_name_provided__3_2832250973_12.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_12.prototype.constructor = _no_name_provided__3_2832250973_12; _no_name_provided__3_2832250973_13.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_13.prototype.constructor = _no_name_provided__3_2832250973_13; _no_name_provided__3_2832250973_14.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_14.prototype.constructor = _no_name_provided__3_2832250973_14; _no_name_provided__3_2832250973_15.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_15.prototype.constructor = _no_name_provided__3_2832250973_15; _no_name_provided__3_2832250973_16.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_16.prototype.constructor = _no_name_provided__3_2832250973_16; _no_name_provided__3_2832250973_17.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_17.prototype.constructor = _no_name_provided__3_2832250973_17; _no_name_provided__3_2832250973_18.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_18.prototype.constructor = _no_name_provided__3_2832250973_18; _no_name_provided__3_2832250973_19.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_19.prototype.constructor = _no_name_provided__3_2832250973_19; _no_name_provided__3_2832250973_20.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_20.prototype.constructor = _no_name_provided__3_2832250973_20; _no_name_provided__3_2832250973_21.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_21.prototype.constructor = _no_name_provided__3_2832250973_21; _no_name_provided__3_2832250973_22.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_22.prototype.constructor = _no_name_provided__3_2832250973_22; _no_name_provided__3_2832250973_23.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_23.prototype.constructor = _no_name_provided__3_2832250973_23; _no_name_provided__3_2832250973_24.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_24.prototype.constructor = _no_name_provided__3_2832250973_24; _no_name_provided__3_2832250973_25.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_25.prototype.constructor = _no_name_provided__3_2832250973_25; _no_name_provided__3_2832250973_26.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_26.prototype.constructor = _no_name_provided__3_2832250973_26; _no_name_provided__3_2832250973_27.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_27.prototype.constructor = _no_name_provided__3_2832250973_27; _no_name_provided__3_2832250973_28.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_28.prototype.constructor = _no_name_provided__3_2832250973_28; _no_name_provided__3_2832250973_29.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_29.prototype.constructor = _no_name_provided__3_2832250973_29; _no_name_provided__3_5_3078889683_11.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_11.prototype.constructor = _no_name_provided__3_5_3078889683_11; _no_name_provided__3_2832250973_30.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_30.prototype.constructor = _no_name_provided__3_2832250973_30; _no_name_provided__3_2832250973_31.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_31.prototype.constructor = _no_name_provided__3_2832250973_31; _no_name_provided__3_2832250973_32.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_32.prototype.constructor = _no_name_provided__3_2832250973_32; _no_name_provided__3_5_3078889683_12.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_5_3078889683_12.prototype.constructor = _no_name_provided__3_5_3078889683_12; EmptyBufferPoolImpl.prototype = Object.create(NoPoolImpl.prototype); EmptyBufferPoolImpl.prototype.constructor = EmptyBufferPoolImpl; BufferLimitExceededException.prototype = Object.create(Exception.prototype); BufferLimitExceededException.prototype.constructor = BufferLimitExceededException; BytePacketBuilderBase.prototype = Object.create(AbstractOutput.prototype); BytePacketBuilderBase.prototype.constructor = BytePacketBuilderBase; BytePacketBuilderPlatformBase.prototype = Object.create(BytePacketBuilderBase.prototype); BytePacketBuilderPlatformBase.prototype.constructor = BytePacketBuilderPlatformBase; _no_name_provided__3_2832250973_33.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_33.prototype.constructor = _no_name_provided__3_2832250973_33; BytePacketBuilder.prototype = Object.create(BytePacketBuilderPlatformBase.prototype); BytePacketBuilder.prototype.constructor = BytePacketBuilder; ByteReadPacketBase.prototype = Object.create(AbstractInput.prototype); ByteReadPacketBase.prototype.constructor = ByteReadPacketBase; ByteReadPacketPlatformBase.prototype = Object.create(ByteReadPacketBase.prototype); ByteReadPacketPlatformBase.prototype.constructor = ByteReadPacketPlatformBase; ByteReadPacket.prototype = Object.create(ByteReadPacketPlatformBase.prototype); ByteReadPacket.prototype.constructor = ByteReadPacket; _no_name_provided__3_2832250973_34.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_34.prototype.constructor = _no_name_provided__3_2832250973_34; ChunkBuffer$Companion$NoPool$1.prototype = Object.create(NoPoolImpl.prototype); ChunkBuffer$Companion$NoPool$1.prototype.constructor = ChunkBuffer$Companion$NoPool$1; ChunkBuffer$Companion$NoPoolManuallyManaged$1.prototype = Object.create(NoPoolImpl.prototype); ChunkBuffer$Companion$NoPoolManuallyManaged$1.prototype.constructor = ChunkBuffer$Companion$NoPoolManuallyManaged$1; _no_name_provided__3_2832250973_35.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_35.prototype.constructor = _no_name_provided__3_2832250973_35; _no_name_provided__3_2832250973_36.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__3_2832250973_36.prototype.constructor = _no_name_provided__3_2832250973_36; ChunkBuffer.prototype = Object.create(Buffer.prototype); ChunkBuffer.prototype.constructor = ChunkBuffer; _no_name_provided__2671100649.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2671100649.prototype.constructor = _no_name_provided__2671100649; _no_name_provided__2_2832250972.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972.prototype.constructor = _no_name_provided__2_2832250972; _no_name_provided__2_2832250972_0.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972_0.prototype.constructor = _no_name_provided__2_2832250972_0; _no_name_provided__2_2832250972_1.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972_1.prototype.constructor = _no_name_provided__2_2832250972_1; _no_name_provided__2_2832250972_2.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972_2.prototype.constructor = _no_name_provided__2_2832250972_2; MalformedUTF8InputException.prototype = Object.create(Exception.prototype); MalformedUTF8InputException.prototype.constructor = MalformedUTF8InputException; $decodeUTF8LineLoopSuspendCOROUTINE$51.prototype = Object.create(CoroutineImpl.prototype); $decodeUTF8LineLoopSuspendCOROUTINE$51.prototype.constructor = $decodeUTF8LineLoopSuspendCOROUTINE$51; $sleepCOROUTINE$52.prototype = Object.create(CoroutineImpl.prototype); $sleepCOROUTINE$52.prototype.constructor = $sleepCOROUTINE$52; $trySuspendCOROUTINE$53.prototype = Object.create(CoroutineImpl.prototype); $trySuspendCOROUTINE$53.prototype.constructor = $trySuspendCOROUTINE$53; $copyToSequentialImplCOROUTINE$54.prototype = Object.create(CoroutineImpl.prototype); $copyToSequentialImplCOROUTINE$54.prototype.constructor = $copyToSequentialImplCOROUTINE$54; $copyToTailCOROUTINE$55.prototype = Object.create(CoroutineImpl.prototype); $copyToTailCOROUTINE$55.prototype.constructor = $copyToTailCOROUTINE$55; ByteArrayPool$1.prototype = Object.create(DefaultPool.prototype); ByteArrayPool$1.prototype.constructor = ByteArrayPool$1; $readAvailableCOROUTINE$56.prototype = Object.create(CoroutineImpl.prototype); $readAvailableCOROUTINE$56.prototype.constructor = $readAvailableCOROUTINE$56; $readAvailableSuspendCOROUTINE$57.prototype = Object.create(CoroutineImpl.prototype); $readAvailableSuspendCOROUTINE$57.prototype.constructor = $readAvailableSuspendCOROUTINE$57; $readFullySuspendCOROUTINE$58.prototype = Object.create(CoroutineImpl.prototype); $readFullySuspendCOROUTINE$58.prototype.constructor = $readFullySuspendCOROUTINE$58; ByteChannelJS.prototype = Object.create(ByteChannelSequentialBase.prototype); ByteChannelJS.prototype.constructor = ByteChannelJS; CharsetImpl.prototype = Object.create(Charset.prototype); CharsetImpl.prototype.constructor = CharsetImpl; CharsetEncoderImpl.prototype = Object.create(CharsetEncoder.prototype); CharsetEncoderImpl.prototype.constructor = CharsetEncoderImpl; CharsetDecoderImpl.prototype = Object.create(CharsetDecoder.prototype); CharsetDecoderImpl.prototype.constructor = CharsetDecoderImpl; ByteOrder.prototype = Object.create(Enum.prototype); ByteOrder.prototype.constructor = ByteOrder; _no_name_provided__2_2832250972_3.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972_3.prototype.constructor = _no_name_provided__2_2832250972_3; _no_name_provided__2_2832250972_4.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972_4.prototype.constructor = _no_name_provided__2_2832250972_4; _no_name_provided__2_2832250972_5.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972_5.prototype.constructor = _no_name_provided__2_2832250972_5; IoBuffer$Companion$Pool$1.prototype = Object.create(DefaultPool.prototype); IoBuffer$Companion$Pool$1.prototype.constructor = IoBuffer$Companion$Pool$1; IoBuffer$Companion$NoPool$1.prototype = Object.create(NoPoolImpl.prototype); IoBuffer$Companion$NoPool$1.prototype.constructor = IoBuffer$Companion$NoPool$1; _no_name_provided__2_2832250972_6.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972_6.prototype.constructor = _no_name_provided__2_2832250972_6; _no_name_provided__2_2832250972_7.prototype = Object.create(RequireFailureCapture.prototype); _no_name_provided__2_2832250972_7.prototype.constructor = _no_name_provided__2_2832250972_7; IoBuffer.prototype = Object.create(ChunkBuffer.prototype); IoBuffer.prototype.constructor = IoBuffer; IOException.prototype = Object.create(Exception.prototype); IOException.prototype.constructor = IOException; EOFException.prototype = Object.create(IOException.prototype); EOFException.prototype.constructor = EOFException; //endregion function ByteReadChannel(content) { return ByteReadChannel_0(content, 0, content.length); } function ByteChannel() { } ByteChannel.$metadata$ = { simpleName: 'ByteChannel', kind: 'interface', interfaces: [ByteReadChannel_1, ByteWriteChannel] }; function $tryAwaitCOROUTINE$49(_this__1828080292, n, resultContinuation) { CoroutineImpl.call(this, resultContinuation); this._this__1828080292__1 = _this__1828080292; this.n_1 = n; } $tryAwaitCOROUTINE$49.prototype.doResume_5yljmg_k$ = function () { var suspendResult = this._get_result__3382885006_f31376_k$(); $sm: do try { var tmp = this._get_state__3614753120_b8zcm8_k$(); switch (tmp) { case 0: this._set_exceptionState__118868437_8fc1n_k$(3); if (this._this__1828080292__1.this$0__1._get_availableForWrite__543127730_8zd41e_k$() < this.n_1) { this._set_state__1256591060_i39zdo_k$(1); suspendResult = this._this__1828080292__1.this$0__1.awaitAtLeastNBytesAvailableForWrite_k0daqc_k$(this.n_1, this); if (suspendResult === _get_COROUTINE_SUSPENDED__2870145053()) { return suspendResult; } continue $sm; } else { this._set_state__1256591060_i39zdo_k$(2); continue $sm; } break; case 1: this._set_state__1256591060_i39zdo_k$(2); continue $sm; case 2: return Unit_getInstance(); case 3: throw this._get_exception__1672948706_ro13he_k$(); } } catch ($p) { if (this._get_exceptionState__1662596297_rhv7ih_k$() === 3) { throw $p; } else { this._set_state__1256591060_i39zdo_k$(this._get_exceptionState__1662596297_rhv7ih_k$()); this._set_exception__4196179798_3fu58l_k$($p); } } while (true); }; $tryAwaitCOROUTINE$49.$metadata$ = { simpleName: '$tryAwaitCOROUTINE$49', kind: 'class', interfaces: [] }; function ByteChannelSequentialBase_init_$Init$(initial, autoFlush, pool, $mask0, $marker, $this) { if (!(($mask0 & 4) === 0)) pool = Companion_getInstance_5()._get_Pool__776882575_cujafj_k$(); ByteChannelSequentialBase.call($this, initial, autoFlush, pool); return $this; } function ByteChannelSequentialBase_init_$Create$(initial, autoFlush, pool, $mask0, $marker) { return ByteChannelSequentialBase_init_$Init$(initial, autoFlush, pool, $mask0, $marker, Object.create(ByteChannelSequentialBase.prototype)); } function ByteChannelSequentialBase_init_$Init$_0(initial, autoFlush, $this) { ByteChannelSequentialBase.call($this, initial, autoFlush, Companion_getInstance_5()._get_Pool__776882575_cujafj_k$()); return $this; } function ByteChannelSequentialBase_init_$Create$_0(initial, autoFlush) { return ByteChannelSequentialBase_init_$Init$_0(initial, autoFlush, Object.create(ByteChannelSequentialBase.prototype)); } function _get_state__3614753120($this) { return $this.state_1; } function _get_slot__809116685($this) { return $this.slot_1; } function totalPending($this) { return $this._get_availableForRead__705243797_bnvtlh_k$() + $this.writable_1._get_size__809037418_ddoh9m_k$() | 0; } function _get_flushSize__2277517772($this) { return $this.flushBuffer_1._get_size__809037418_ddoh9m_k$(); } function _set__totalBytesRead__1488150569($this, value) { $this.state_1._set_totalBytesRead__2893618426_35z9lf_k$(value); } function _get__totalBytesRead__2099073973($this) { return $this.state_1._get_totalBytesRead__142378990_2croby_k$(); } function _set__totalBytesWritten__4158420902($this, value) { $this.state_1._set_totalBytesWritten__2815180085_8drm6m_k$(value); } function _get__totalBytesWritten__2106149018($this) { return $this.state_1._get_totalBytesWritten__1502051777_oua6kh_k$(); } function _set_closedCause__1675347272($this, value) { $this.state_1._set_closedCause__1675347272_p54u3g_k$(value); } function _get_flushMutex__1722704656($this) { return $this.flushMutex_1; } function _get_flushBuffer__678714797($this) { return $this.flushBuffer_1; } function flushImpl($this) { if ($this.writable_1._get_isEmpty__1500737838_oti0q6_k$()) { return false; } flushWrittenBytes($this); $this.slot_1.resume_2nhcyk_k$(); return true; } function flushWrittenBytes($this) { var tmp$ret$0; $l$block: { var tmp0_synchronized_0 = $this.flushMutex_1; var buffer_2 = ensureNotNull($this.writable_1.stealAll_nensgi_k$()); tmp$ret$0 = $this.flushBuffer_1.writeChunkBuffer_g4ats6_k$(buffer_2); break $l$block; } } function ensureNotClosed($this) { if ($this._get_closed__3151874847_iwkfs1_k$()) { var tmp0_elvis_lhs = $this._get_closedCause__3506790100_d19df0_k$(); throw tmp0_elvis_lhs == null ? new ClosedWriteChannelException('Channel is already closed') : tmp0_elvis_lhs; } } function ensureNotFailed($this) { var tmp0_safe_receiver = $this._get_closedCause__3506790100_d19df0_k$(); if (tmp0_safe_receiver == null) null; else { var tmp$ret$0; { { } throw tmp0_safe_receiver; } } Unit_getInstance(); } function ensureNotFailed_0($this, closeable) { var tmp0_safe_receiver = $this._get_closedCause__3506790100_d19df0_k$(); if (tmp0_safe_receiver == null) null; else { var tmp$ret$0; { { } closeable.release_wtm6d2_k$(); throw tmp0_safe_receiver; } } Unit_getInstance(); } function reverseWrite($this, value, reversed) { var tmp; if ($this._get_writeByteOrder__3226031332_hof09o_k$().equals(ByteOrder_BIG_ENDIAN_getInstance())) { tmp = value(); } else { tmp = reversed(); } return tmp; } function checkClosed($this, remaining, closeable) { var tmp0_safe_receiver = $this._get_closedCause__3506790100_d19df0_k$(); if (tmp0_safe_receiver == null) null; else { var tmp$ret$0; { { } var tmp0_safe_receiver_2 = closeable; if (tmp0_safe_receiver_2 == null) null; else { tmp0_safe_receiver_2.close_ymq55z_k$(); Unit_getInstance(); } Unit_getInstance(); throw tmp0_safe_receiver; } } Unit_getInstance(); if ($this._get_closed__3151874847_iwkfs1_k$() ? $this._get_availableForRead__705243797_bnvtlh_k$() < remaining : false) { var tmp1_safe_receiver = closeable; if (tmp1_safe_receiver == null) null; else { tmp1_safe_receiver.close_ymq55z_k$(); Unit_getInstance(); } Unit_getInstance(); throw new EOFException('' + remaining + ' bytes required but EOF reached'); } } function checkClosed$default($this, remaining, closeable, $mask0, $handler) { if (!(($mask0 & 4) === 0)) closeable = null; return checkClosed($this, remaining, closeable); } function readByteSlow($this, $cont) { var tmp = new $readByteSlowCOROUTINE$15($this, $cont); tmp._set_result__3294305178_cat9z_k$(Unit_getInstance()); tmp._set_exception__4196179798_3fu58l_k$(null); return tmp.doResume_5yljmg_k$(); } function readShortSlow($this, $cont) { var tmp = new $readShortSlowCOROUTINE$17($this, $cont); tmp._set_result__3294305178_cat9z_k$(Unit_getInstance()); tmp._set_exception__4196179798_3fu58l_k$(null); return tmp.doResume_5yljmg_k$(); } function reverseRead(_this__1828080292, $this) { return $this._get_readByteOrder__1859398817_ur1db5_k$().equals(ByteOrder_BIG_ENDIAN_getInstance()) ? _this__1828080292 : reverseByteOrder(_this__1828080292); } function reverseRead_0(_this__1828080292, $this) { return $this._get_readByteOrder__1859398817_ur1db5_k$().equals(ByteOrder_BIG_ENDIAN_getInstance()) ? _this__1828080292 : reverseByteOrder_0(_this__1828080292); } function reverseRead_1(_this__1828080292, $this) { return $this._get_readByteOrder__1859398817_ur1db5_k$().equals(ByteOrder_BIG_ENDIAN_getInstance()) ? _this__1828080292 : reverseByteOrder_3(_this__1828080292); } function reverseRead_2(_this__1828080292, $this) { return $this._get_readByteOrder__1859398817_ur1db5_k$().equals(ByteOrder_BIG_ENDIAN_getInstance()) ? _this__1828080292 : reverseByteOrder_1(_this__1828080292); } function reverseRead_3(_this__1828080292, $this) { return $this._get_readByteOrder__1859398817_ur1db5_k$().equals(ByteOrder_BIG_ENDIAN_getInstance()) ? _this__1828080292 : reverseByteOrder_2(_this__1828080292); } function readIntSlow($this, $cont) { var tmp = new $readIntSlowCOROUTINE$19($this, $cont); tmp._set_result__3294305178_cat9z_k$(Unit_getInstance()); tmp._set_exception__4196179798_3fu58l_k$(null); return tmp.doResume_5yljmg_k$(); } function readLongSlow($this, $cont) { var tmp = new $readLongSlowCOROUTINE$21($this, $cont); tmp._set_result__3294305178_cat9z_k$(Unit_getInstance()); tmp._set_exception__4196179798_3fu58l_k$(null); return tmp.doResume_5yljmg_k$(); } function readFloatSlow($this, $cont) { var tmp = new $readFloatSlowCOROUTINE$23($this, $cont); tmp._set_result__3294305178_cat9z_k$(Unit_getInstance()); tmp._set_exception__4196179798_3fu58l_k$(null); return tmp.doResume_5yljmg_k$(); } function readDoubleSlow($this, $cont) { var tmp = new $readDoubleSlowC