write

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

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

See also

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