read

open override fun read(target: CharBuffer): Int

Reads characters into a CharBuffer. This default implementation reads into an array and then puts the characters into the buffer.


open override fun read(): Int

Reads a single character.

Return

The character read, or -1 if the end of the stream has been reached

Throws

IOException

If an I/O error occurs


open override fun read(cbuf: CharArray, off: Int, len: Int): Int

{@inheritDoc}

Throws