Writer or OutputStream?
<p>I'm designing a library where a class should have an ability to be able to convert itself internals into text. Which class shall I use: <a href="http://download.oracle.com/javase/6/docs/api/java/io/OutputStream.html" rel="nofollow"><code>OutputStream</code></a> or <a href="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html" rel="nofollow"><code>Writer</code></a>? And what is the key difference between them (in my case)?</p>

<pre><code>public interface Memento {
  void save(OutputStream stream);
  void save(Writer writer);
}
</code></pre>

<p>Which one?</p>
