mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-26 03:58:45 +00:00
small refactor in actual MPPFileInput
This commit is contained in:
parent
d0dbe3ed2f
commit
19857930a4
@ -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())
|
Loading…
Reference in New Issue
Block a user