Thread
#multiplatform
    mbonnin

    mbonnin

    3 years ago
    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.
    inline fun ByteReadPacket(array: ByteArray, offset: Int = 0, length: Int = array.size): ByteReadPacket
    seems to do the job