[squeak-dev] Re: StandardFileStream>>#readInto:startingAt:count:
appears badly broken
Chris Muller
asqueaker at gmail.com
Mon Mar 15 17:15:05 UTC 2010
> I thought I did fix it In my image I have:
> ^(self next: count into: byteArray startingAt: startIndex) size - startIndex + 1
>
> and next:into:startingAt: just return a copy truncated to last byte
> read, so it relates to size read.
I just committed a test demonstrating the bug to the trunk. Please
see testReadIntoStartingAtCount.
> This stupid API was here before us, so we are just maintaining compatibility...
Glad to hear it, right now I just want compatibility too, to get moved to 3.11.
- Chris
More information about the Squeak-dev
mailing list
|