reader
inline fun File.reader(charset: Charset = Charsets.UTF_8): InputStreamReader
Content copied to clipboard
Returns a new FileReader for reading the content of this file.
inline fun InputStream.reader(charset: Charset = Charsets.UTF_8): InputStreamReader
Content copied to clipboard
Creates a reader on this input stream using UTF-8 or the specified charset.
Creates a new reader for the string.