outputStream2String

open fun outputStream2String(out: OutputStream, charsetName: String): String

Output stream to string.

Return

string

Parameters

out

The output stream.

charsetName

The name of charset.