readText

fun InputStream.readText(charset: Charset = Charsets.UTF_8): <Error class: unknown class>

Read this input stream to a string.

Return

The text contained in this input stream.

Author

Griefed

Parameters

charset

Charset to use for reading. Default is Charsets.UTF_8