Back: ZLib.RawDeflateWriteStream class-instance creation Up: ZLib package Forward: ZLib.RawInflateStream-positioning   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

7.9 ZLib.RawInflateStream

Defined in namespace ZLib
Superclass: ZLib.ZlibReadStream
Category: Examples-Useful
Instances of this class reinflate "raw" (PKZIP) deflated data.

7.9.1 ZLib.RawInflateStream: positioning  (instance)


7.9.1 ZLib.RawInflateStream: positioning

copyFrom: start to: end
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. Notice that this class can only provide the illusion of random access, by appropriately rewinding the input stream or skipping compressed data.

isPositionable
Answer true if the stream supports moving backwards with #skip:.

position: anInteger
Set the current position in the stream to anInteger. Notice that this class can only provide the illusion of random access, by appropriately rewinding the input stream or skipping compressed data.

reset
Reset the stream to the beginning of the compressed data.

skip: anInteger
Move the current position by anInteger places, either forwards or backwards.



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


This document was generated on July, 23 2009 using texi2html