write

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

Write up to count bytes from buffer at offset to the TTY. The number of bytes written will be returned.

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