inputStreamToString

open fun inputStreamToString(inputStream: InputStream): String

Reads all data from the given InputStream and converts to a String (Uses StringBuilder).

Return

a String representation of the data provided by the InputStream

Parameters

inputStream

InputStream from which String should be built

Throws