Hi Colin,<br><br><div class="gmail_quote">On Wed, Dec 2, 2009 at 6:46 AM, Colin Putney <span dir="ltr">&lt;<a href="mailto:cputney@wiresong.ca">cputney@wiresong.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On 1-Dec-09, at 9:55 PM, Andreas Raab wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
file := FileHandle open: &#39;file.txt&#39; mode: &#39;rb&#39;.<br>
stream := UTF8EncodingXTream on: BufferedXtream on: FileXtream on: file.<br>
</blockquote>
<br></div>
For Filesystem, I&#39;ve been working on something like this:<br>
<br>
stream := aReference writeStream<br>
        encoding: #utf8;<br>
        buffer: 1024;<br>
        yourself<br></blockquote><div><br></div><div>please make that accessor bufferSize: :)  I could well imagine wanting to pass in a specific buffer (e.g. one that records access history for debugging) and would want to use buffer: as the accessor :)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
The stream is responsible for managing the pipeline between its self and the handle.<br>
<br>
If Nicolas is writing a separate Xtreams package, though, it&#39;s going to overlap a lot with Filesystem. Perhaps I should just depend on Xtreams, rather than duplicate the functionality.<br><font color="#888888">
<br>
Colin<br>
<br>
</font></blockquote></div><br>