title: how can i convert InputStream to BufferInputStream in kotlin
body: <p>How can I convert InputStream to BufferInputStream in Kotlin?</p>
  
  <pre><code>fun ConvertStreamToString(inputStream:InputStream): String {
  
      val bufferreader=BufferedReader(InputStreamReader(inputStream))
  
      var line= String
      var AllString:String=""
      try {
          do {
              line=bufferreader.readLine()
              if (line!=null){
                  AllString+=line
              }
  </code></pre>