WriteStream>>contents

Damien Cassou damien.cassou at gmail.com
Fri Mar 23 15:08:49 UTC 2007


Do you think that the following behavior is desired?

stream := WriteStream with: 'something'.
stream contents.                     => 'something'
stream position: 2.
stream contents.                     => 'so'

We get the same result on Squeak and VisualWorks.

Based on ANSI, #contents must return 'something' on both cases.

-- 
Damien Cassou



More information about the Squeak-dev mailing list