mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-04-22 09:52:26 +00:00
experimentally add support of natives
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package dev.inmo.tgbotapi.utils
|
||||
|
||||
import io.ktor.utils.io.ByteReadChannel
|
||||
import io.ktor.utils.io.core.Input
|
||||
import io.ktor.utils.io.readRemaining
|
||||
|
||||
actual suspend fun ByteReadChannel.asInput(): Input = readRemaining()
|
||||
Reference in New Issue
Block a user