Next: PositionableStream-class type methods, Previous: PositionableStream class-instance creation, Up: PositionableStream [Index]
Disassociate a stream from its backing store.
Returns a collection of the same type that the stream accesses, up to and including the final element.
Answer the data on which the receiver is streaming, from the start-th item to the end-th. Note that this method is 0-based, unlike the one in Collection, because a Stream’s #position method returns 0-based values.
Answer the next item of the receiver. Returns nil when at end of stream.
Place up to anInteger objects from the receiver into aCollection, starting from position pos in the collection and stopping if no more data is available.
Copy up to anInteger objects from the receiver into aStream, stopping if no more data is available.
Returns the next element of the stream without moving the pointer. Returns nil when at end of stream.
Returns true and gobbles the next element from the stream of it is equal to anObject, returns false and doesn’t gobble the next element if the next element is not equal to anObject.
Answer a ReadStream on the same contents as the receiver
Returns a collection of the same type that the stream accesses, up to and including the final element, but in reverse order.
Returns a collection of the same type that the stream accesses, up to but not including the object anObject. Returns the entire rest of the stream’s contents if anObject is not present.
Returns a collection of the same type that the stream accesses, containing the entire rest of the stream’s contents.
Next: PositionableStream-class type methods, Previous: PositionableStream class-instance creation, Up: PositionableStream [Index]