Class MTFilestream and MTCompressedFileStream are subclasses of class MTStream (5.1). MTCompressedFileStream can read from and write to a compressed file using the tool gzip, which must be installed and accessible on the system. In addition to the methods available from class MTStream, these classes also implement the following methods:
|
fstr := MTFileSTream streamToFile: (ARGS @ 3). "open stream (third argument)"
(fstr ok) ifTrue: [
|
moltalk@moltalk.org version of this document: V3.0