CompressionStream.st
changeset 3316 7d8e613eb9da
parent 3293 772bcf3f973c
child 4205 126f38d59bbe
equal deleted inserted replaced
3315:2b2c0d24f156 3316:7d8e613eb9da
   533     ].
   533     ].
   534     position := position + 1.
   534     position := position + 1.
   535     ^ outputBytes at:position.
   535     ^ outputBytes at:position.
   536 !
   536 !
   537 
   537 
       
   538 nextBytes:numBytes into:aByteCollection startingAt:initialIndex
       
   539     "can do it faster here than in super class"
       
   540 
       
   541     ^ self next:numBytes into:aByteCollection startingAt:initialIndex.
       
   542 !
       
   543 
   538 nextOrNil
   544 nextOrNil
   539     "return the next element, a character or byte (textmode)
   545     "return the next element, a character or byte (textmode)
   540      return nil, if there are no more elements"
   546      return nil, if there are no more elements"
   541 
   547 
   542     |byte|
   548     |byte|
   703 ! !
   709 ! !
   704 
   710 
   705 !CompressionStream class methodsFor:'documentation'!
   711 !CompressionStream class methodsFor:'documentation'!
   706 
   712 
   707 version
   713 version
   708     ^ '$Header: /cvs/stx/stx/libbasic2/CompressionStream.st,v 1.35 2014-06-03 10:51:02 stefan Exp $'
   714     ^ '$Header: /cvs/stx/stx/libbasic2/CompressionStream.st,v 1.36 2014-07-03 13:37:32 stefan Exp $'
   709 !
   715 !
   710 
   716 
   711 version_CVS
   717 version_CVS
   712     ^ '$Header: /cvs/stx/stx/libbasic2/CompressionStream.st,v 1.35 2014-06-03 10:51:02 stefan Exp $'
   718     ^ '$Header: /cvs/stx/stx/libbasic2/CompressionStream.st,v 1.36 2014-07-03 13:37:32 stefan Exp $'
   713 ! !
   719 ! !
   714 
   720 
   715 
   721 
   716 CompressionStream initialize!
   722 CompressionStream initialize!