readInput

expect fun readInput(buffer: ByteArray, offset: Int, count: Int): Int

Read up to count bytes into buffer at offset from the input stream. The number of bytes read will be returned. 0 will be returned if interruptInputRead is called while waiting for data.

See also

actual fun readInput(buffer: ByteArray, offset: Int, count: Int): Int
actual fun readInput(buffer: ByteArray, offset: Int, count: Int): Int