reader

inline fun File.reader(charset: Charset = Charsets.UTF_8): InputStreamReader(source)

Returns a new FileReader for reading the content of this file.

Since Kotlin

1.0

inline fun InputStream.reader(charset: Charset = Charsets.UTF_8): InputStreamReader(source)

Creates a reader on this input stream using UTF-8 or the specified charset.

Since Kotlin

1.0

Creates a new reader for the string.

Since Kotlin

1.0