One more patch for today, allowing the DeflateStream to
decorate not
only a ReadStream but also a WriteStream. To do this, I
just added a
generic class to turn a ReadStream decorator into a
WriteStream
decorator (the PipeStream).
More practically, this means that you can do:
fs := FileStream open: 'foo.gz' mode: 'w'.
gzipStream := GZipDeflateStream compressingTo: fs.
Object fileOutOn: gzipStream.
gzipStream close.
fs close.
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|