readerToString

open fun readerToString(reader: Reader): String

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

Return

a String representation of the data provided by the Reader

Parameters

reader

Reader from which String should be built

Throws