implement support of wasm/js for browser

This commit is contained in:
nullsanya
2025-04-03 21:22:55 +10:00
parent 8ae983971a
commit 54576d8dec
28 changed files with 811 additions and 0 deletions

View File

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