|
|
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
- 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
|