code: public String asString(String charset) throws IOException {
  		Reader reader = buildReader(charset);
  		return consumeReader(reader);
  	}
docs: Gets the stream contents as a string.
  @param charset the character set to decode the stream data with (this
  parameter is ignored if a {@link Reader} was passed into this class's
  constructor)
  @return the string
  @throws IOException if there was a problem reading from the stream