inputStream2String

open fun inputStream2String(is: InputStream, charsetName: String): String

Input stream to string.

Return

string

Parameters

is

The input stream.

charsetName

The name of charset.