Can I convert a kotlin `ByteArray` to a `kolinx.io...
# multiplatform
m
Can I convert a kotlin
ByteArray
to a
kolinx.io.core.Input
? I'm mainly interested by the `readByte()`/`readInt()` methods so it should be doable by hand but would prefer not reinventing the wheel if possible.
Copy code
inline fun ByteReadPacket(array: ByteArray, offset: Int = 0, length: Int = array.size): ByteReadPacket
seems to do the job