[squeak-dev] Re: SocketSteam: Switching ascii/binary modes

Andreas Raab andreas.raab at gmx.de
Tue Mar 16 02:46:48 UTC 2010


On 3/15/2010 7:44 PM, Igor Stasenko wrote:
> Since SocketStream caching the data it reads, then instead of
> resetting the buffers it should convert them and avoid losing the
> data.
>
> What you think is an appropriate solution to this?

Don't "reset" the buffers; simply convert them to the proper 
ascii/binary format.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list