mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-16 06:10:17 +08:00
Revert "Use io.ktor.utils.io
than kotlinx.io
"
This reverts commit 6a85769e
This commit is contained in:
parent
1b8a87b4ce
commit
b1f36704c8
@ -10,6 +10,7 @@ kotlinVersion=1.3.61
|
|||||||
serializationVersion=0.14.0
|
serializationVersion=0.14.0
|
||||||
coroutinesVersion=1.3.3
|
coroutinesVersion=1.3.3
|
||||||
atomicFuVersion=0.14.1
|
atomicFuVersion=0.14.1
|
||||||
|
kotlinXIoVersion=0.1.16
|
||||||
coroutinesIoVersion=0.1.16
|
coroutinesIoVersion=0.1.16
|
||||||
# utility
|
# utility
|
||||||
ktorVersion=1.3.1
|
ktorVersion=1.3.1
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
package net.mamoe.mirai.qqandroid.network.protocol.packet.login
|
package net.mamoe.mirai.qqandroid.network.protocol.packet.login
|
||||||
|
|
||||||
import io.ktor.utils.io.core.ByteReadPacket
|
import kotlinx.io.core.ByteReadPacket
|
||||||
import net.mamoe.mirai.data.Packet
|
import net.mamoe.mirai.data.Packet
|
||||||
import net.mamoe.mirai.qqandroid.QQAndroidBot
|
import net.mamoe.mirai.qqandroid.QQAndroidBot
|
||||||
import net.mamoe.mirai.qqandroid.network.QQAndroidClient
|
import net.mamoe.mirai.qqandroid.network.QQAndroidClient
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
|
|
||||||
package net.mamoe.mirai.utils.io
|
package net.mamoe.mirai.utils.io
|
||||||
|
|
||||||
import io.ktor.utils.io.pool.DefaultPool
|
import kotlinx.io.pool.DefaultPool
|
||||||
|
import kotlinx.io.pool.ObjectPool
|
||||||
import net.mamoe.mirai.utils.MiraiInternalAPI
|
import net.mamoe.mirai.utils.MiraiInternalAPI
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
package net.mamoe.mirai.utils.io
|
package net.mamoe.mirai.utils.io
|
||||||
|
|
||||||
import io.ktor.utils.io.charsets.Charset
|
|
||||||
import io.ktor.utils.io.charsets.Charsets
|
|
||||||
import io.ktor.utils.io.core.*
|
|
||||||
import io.ktor.utils.io.pool.useInstance
|
|
||||||
import kotlinx.io.OutputStream
|
import kotlinx.io.OutputStream
|
||||||
|
import kotlinx.io.charsets.Charset
|
||||||
|
import kotlinx.io.charsets.Charsets
|
||||||
|
import kotlinx.io.core.*
|
||||||
|
import kotlinx.io.pool.useInstance
|
||||||
import net.mamoe.mirai.utils.MiraiDebugAPI
|
import net.mamoe.mirai.utils.MiraiDebugAPI
|
||||||
import net.mamoe.mirai.utils.MiraiInternalAPI
|
import net.mamoe.mirai.utils.MiraiInternalAPI
|
||||||
import kotlin.contracts.ExperimentalContracts
|
import kotlin.contracts.ExperimentalContracts
|
||||||
|
Loading…
Reference in New Issue
Block a user