Nice catch. The write stream is well defined in comparison.

https://pharo.fogbugz.com/f/cases/21604/FileHandle-creates-a-buffered-stream-on-a-buffered-stream

https://github.com/pharo-project/pharo/pull/1118

Can somebody review please?

Tx,
Guille

On Thu, Mar 15, 2018 at 4:00 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Hi (Guille),

FileHandle creates a buffered stream on a buffered stream when sent #readStream.

Note how #binaryReadStream adds a bufferer stream as well as #readStreamEncoded:

Probably the latter should not do this

Sven



--

������

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr


Web: http://guillep.github.io

Phone: +33 06 52 70 66 13