Eh, I marked with "< blabla >" where it would be nice with "Command-6->Link to method": ------------------------------ A LimitedWriteStream is a specialized WriteStream that has a maximum size of the collection it streams over. When this limit is reached a special limitBlock is executed. This can for example be used to "bail out" of lengthy streaming operations before they have finished.
For a simple example take a look at the universal <Object printString>. Note the message <SequenceableCollection class streamContents:limitedTo:> which creates a LimitedWriteStream. In this case it prevents very large (or possibly recursive) objectstructures to "overdo" their textual representation. ------------------------------
regards, G�ran
===== G�ran Hultgren, goran.hultgren@bluefish.se icq#:6136722, GSM: +46 709 472152, http://www.bluefish.se "First they ignore you. Then they laugh at you. Then they fight you. Then you win." -- Gandhi __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
squeak-dev@lists.squeakfoundation.org