small refactor in actual MPPFileInput

This commit is contained in:
InsanusMokrassar 2022-04-21 16:45:16 +06:00
parent d0dbe3ed2f
commit 19857930a4

View File

@ -4,4 +4,4 @@ import dev.inmo.micro_utils.common.*
import io.ktor.utils.io.core.ByteReadPacket import io.ktor.utils.io.core.ByteReadPacket
import io.ktor.utils.io.core.Input import io.ktor.utils.io.core.Input
actual fun MPPFile.input(): Input = ByteReadPacket(bytesSync()) actual fun MPPFile.input(): Input = ByteReadPacket(readBytes())