Back: ReadStream-accessing-reading
Up: Class reference
Forward: ReadWriteStream class-instance creation
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.119 ReadWriteStream

Defined in namespace Smalltalk
Category: Streams-Collections
I am the class of streams that may be read and written from simultaneously. In some sense, I am the best of both ReadStream and WriteStream.

6.119.1 ReadWriteStream class: instance creation  (class)
6.119.2 ReadWriteStream: positioning  (instance)


6.119.1 ReadWriteStream class: instance creation

on: aCollection
Answer a new stream working on aCollection from its start. The stream starts at the front of aCollection

with: aCollection
Answer a new instance of the receiver which streams from the end of aCollection.


6.119.2 ReadWriteStream: positioning

position: anInteger
Unlike WriteStreams, ReadWriteStreams don't truncate the stream

skip: anInteger
Unlike WriteStreams, ReadWriteStreams don't truncate the stream




This document was generated on May, 12 2002 using texi2html