title: How do you convert an InputStream to a base64 string in Scala?
body: <p>Trying to pull an image off of Amazon S3 (returns <code>S3ObjectInputStream</code>) and send it to the <a href="https://mandrillapp.com/api/docs/messages.html#method=send" rel="nofollow">mandrill email api</a> (takes a base64-encoded string).  How can this be done in Scala?</p>