read

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

Read up to count bytes into buffer at offset from the PTY. The number of bytes read will be returned.

See also

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