readOutput

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

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

See also

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