Next: , Previous: , Up: WriteStream   [Index]


1.223.2 WriteStream: accessing-writing

contents

Returns a collection of the same type that the stream accesses, up to and including the final element.

next: n putAll: aCollection startingAt: pos

Put n characters or bytes of aCollection, starting at the pos-th, in the collection buffer.

nextPut: anObject

Store anObject as the next item in the receiver. Grow the collection if necessary

readStream

Answer a ReadStream on the same contents as the receiver

reverseContents

Returns a collection of the same type that the stream accesses, up to and including the final element, but in reverse order.