string2InputStream

open fun string2InputStream(string: String, charsetName: String): InputStream

String to input stream.

Return

input stream

Parameters

string

The string.

charsetName

The name of charset.