title: Is there an easier way to change BufferedReader to string?
body: <p>Right Now I have</p>
  
  <pre><code>;; buffer-&gt;string: BufferedReader -&gt; String
  (defn buffer-&gt;string [buffer]
   (loop [line  (.readLine buffer) sb (StringBuilder.)]
       (if(nil? line)
          (.toString sb)
          (recur (.readLine buffer) (.append sb line)))))
  </code></pre>
  
  <p>This is too slow.</p>
  
  <p>Edit:</p>
  
  <ul>
  <li><p>I have a BufferedReader</p></li>
  <li><p>when i try to do (str BufferedReader) it gives me "java.io.BufferedReader@1ce784b"</p></li>
  <li><p>the above loop is too slow and I run out of memory space.</p></li>
  </ul>