DeflateStream unable to write binary streams?

Keith Hodges keith_hodges at yahoo.co.uk
Wed Sep 26 12:26:03 UTC 2007


I had to fix Inflate streams for rio (there are some tests too)
so that binary and text setting of the wrapped stream is honoured
If I remember, binary uses a ByteArray and Text uses a String for the 
internal buffer
At some point it fails to ask the stream whether it is a binary stream 
and initializes its buffer as a ByteArray.

Have a look at rios's class extensions for details

regards

Keith





More information about the Squeak-dev mailing list