IrisRGBReader.st
changeset 3097 b067905c1c89
parent 2726 de3b045610a0
child 3855 1db7742d33ad
equal deleted inserted replaced
3096:5c18b8ffc634 3097:b067905c1c89
   137             inStream position1Based:(start + 1).
   137             inStream position1Based:(start + 1).
   138             (inStream nextBytes:length into:rleData startingAt:1) ~~ length ifTrue:[
   138             (inStream nextBytes:length into:rleData startingAt:1) ~~ length ifTrue:[
   139                 self halt:'short read'
   139                 self halt:'short read'
   140             ].
   140             ].
   141             (rleData at:length) ~~ 0 ifTrue:[
   141             (rleData at:length) ~~ 0 ifTrue:[
   142                 self halt.
   142                 self halt:'lengthTable not 0 terminated'.
   143             ].
   143             ].
   144 
   144 
   145             self class
   145             self class
   146                 decompressRLEFrom:rleData at:1 
   146                 decompressRLEFrom:rleData at:1 
   147                 into:data at:dstIdx+z increment:bytesPerPixel.
   147                 into:data at:dstIdx+z increment:bytesPerPixel.
   227 ! !
   227 ! !
   228 
   228 
   229 !IrisRGBReader class methodsFor:'documentation'!
   229 !IrisRGBReader class methodsFor:'documentation'!
   230 
   230 
   231 version
   231 version
   232     ^ '$Header: /cvs/stx/stx/libview2/IrisRGBReader.st,v 1.13 2009-08-19 18:25:02 cg Exp $'
   232     ^ '$Header: /cvs/stx/stx/libview2/IrisRGBReader.st,v 1.14 2013-03-06 09:01:16 cg Exp $'
   233 ! !
   233 ! !
       
   234 
   234 
   235 
   235 IrisRGBReader initialize!
   236 IrisRGBReader initialize!