Previous: ZLib.ZlibReadStream-accessing-reading, Up: ZLib.ZlibReadStream


7.11.2 ZLib.ZlibReadStream: streaming

atEnd
Answer whether the stream has got to an end


next
Return the next object (character or byte) in the receiver.


peek
Returns the next element of the stream without moving the pointer. Returns nil when at end of stream.


peekFor: anObject
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.


position
Answer the current value of the stream pointer. Note that only inflating streams support random access to the stream data.