Base64MimeConverter

Bob Arning arning at charm.net
Tue Jul 4 23:35:53 UTC 2000


On Tue, 04 Jul 2000 16:58:31 -0700 Andres Valloud <avalloud at exobox.com> wrote:
>Why is is that Base64MimeConverter>>mimeDecodeToBytes: returns an
>RWBinaryOrTextStream (and this class keeps things internally as text!),
>while mimeDecodeToChars: returns a ReadWriteStream? Shouldn't both
>methods answer a ReadWriteStream? From the senders of mimeDecodeToBytes:
>it seems to be that a ReadWriteStream would do...

Andres,

My guess would be that some senders (not necessarily the ones you see in the image) of #mimeDecodeToBytes: might wish to toggle between #binary and #ascii modes, which a ReadWriteStream doesn't support.

Cheers,
Bob





More information about the Squeak-dev mailing list