On Jan 20, 2011, at 2:54 40PM, Alexandre Bergel wrote:

> I think you have a good point. #reset is ambiguous here.
> 
> Maybe we should have two methods: #resetIndex and #resetContent 
> 
> Cheers,
> Alexandre

Hehe, I have a sense others must have thought the same, I missed them first 
time around:

PositionableStream>>resetContents
        "Set the position and limits to 0."

        position := 0.
        readLimit := 0

WriteStream>>resetToStart
        readLimit := position := 0.

Cheers,
Henry

Reply via email to