ReadWriteStream.st
changeset 17245 4832da8d7f31
parent 17204 dc2ca6d858e8
child 17558 4a044bdacd7c
equal deleted inserted replaced
17244:2d730416819c 17245:4832da8d7f31
   136 !
   136 !
   137 
   137 
   138 resetPosition
   138 resetPosition
   139     "set the read position to the beginning of the collection.
   139     "set the read position to the beginning of the collection.
   140      Because I am a read/write stream, the readLimit is set to the current write position.
   140      Because I am a read/write stream, the readLimit is set to the current write position.
   141      Thus, the just written data can be readback."
   141      Thus, the just written data can be read back."
   142 
   142 
   143     readLimit := position max:readLimit.
   143     readLimit := position max:readLimit.
   144     super resetPosition
   144     super resetPosition
   145 ! !
   145 ! !
   146 
   146 
   187 ! !
   187 ! !
   188 
   188 
   189 !ReadWriteStream class methodsFor:'documentation'!
   189 !ReadWriteStream class methodsFor:'documentation'!
   190 
   190 
   191 version
   191 version
   192     ^ '$Header: /cvs/stx/stx/libbasic/ReadWriteStream.st,v 1.35 2014-12-09 16:27:48 cg Exp $'
   192     ^ '$Header: /cvs/stx/stx/libbasic/ReadWriteStream.st,v 1.36 2014-12-23 15:39:03 cg Exp $'
   193 !
   193 !
   194 
   194 
   195 version_CVS
   195 version_CVS
   196     ^ '$Header: /cvs/stx/stx/libbasic/ReadWriteStream.st,v 1.35 2014-12-09 16:27:48 cg Exp $'
   196     ^ '$Header: /cvs/stx/stx/libbasic/ReadWriteStream.st,v 1.36 2014-12-23 15:39:03 cg Exp $'
   197 ! !
   197 ! !
   198 
   198