Up: ZLib.RawInflateStream


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.