CombiningReader

Helper reader that presents a reader that reads the given sources in order.

Constructors

Link copied to clipboard
constructor(vararg sources: Reader)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
actual open fun read(): Int

open override fun read(buf: CharArray, offset: Int, len: Int): Int

Read data into the buffer. Note that this will only ever read from one of the sources. As such the buffer may not be filled up to len size, even in the middle of the stream. Make sure to use a negative return value to determine the end of the reader.