kotlin-stdlib / kotlin.io / java.io.InputStream / reader reader JVM 1.0 fun InputStream.reader( charset: Charset = Charsets.UTF_8): InputStreamReader(source) Creates a reader on this input stream using UTF-8 or the specified charset.