Back: ZLib.ZlibError-accessing Up: ZLib package Forward: ZLib.ZlibReadStream-streaming   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

7.11 ZLib.ZlibReadStream

Defined in namespace ZLib
Superclass: ZLib.ZlibStream
Category: Examples-Useful
This abstract class implements the basic buffering that is used for communication with zlib.

7.11.1 ZLib.ZlibReadStream: streaming  (instance)


7.11.1 ZLib.ZlibReadStream: streaming

atEnd
Answer whether the stream has got to an end

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

nextHunk
Answer the next buffers worth of stuff in the Stream represented by the receiver. Do at most one actual compression/decompression operation.

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.



Back: ZLib.ZlibReadStream Up: ZLib.ZlibReadStream Forward: ZLib.ZlibStream   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on May, 22 2008 using texi2html