excellent
I'm slowly back to live and I will start to integrate more so that esteban can
do something more exciting.
Stef
On Aug 3, 2012, at 10:55 PM, Sven Van Caekenberghe wrote:
> Hi Chris,
>
> Thanks again for testing and for suggesting the fix.
>
> ZnUtils>>#streamFrom:to: without the siz
Hi Chris,
Thanks again for testing and for suggesting the fix.
ZnUtils>>#streamFrom:to: without the size is a new method that was not yet
covered by a unit test, I added one now.
Stef,
I will update the issue: Zn can be updated now in Pharo 2.0 (and maybe in 1.4
as well).
Sven
On 03 Aug 201
Almost!
I had to change ZnUtils class>>#streamFrom:to: to say
readCount := inputStream readInto: buffer startingAt: 1 count: buffer
size rather than startingAt: 0.
Otherwise ZnChunkedReadStream>>#readInto:startingAt:count: had an offset
and read of 0 first time in and failed on the ByteArray
fileStream := ... stream on the ascii file...
[ fileStream atEnd ] whileFalse: [
str := fileStream upTo: Character cr .
... ]
upTo: Character lf *or *upToAll: String crlf as per OS.. or make it even
more generic to work across all OS ...
On Tue, Jul 31, 2012 at 10:00 PM, Paul DeBruick