Previous: , Up: ZLib.ZlibReadStream   [Index]

7.11.2 ZLib.ZlibReadStream: streaming


Answer whether the stream has got to an end


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


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.


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