----- Original Message -----
From: "Dustin Sallings" <[EMAIL PROTECTED]>
To: "Daniel Rall" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, September 28, 2002 12:56 AM
Subject: Re: base64 interop problems


[snip]

> The issue is the handling of non-base64 data in the input of the
> decoder.  The base64 decoder attempts to decode every character in the
> input stream.  The one I provided skips characters that are not base64
> characters.  A third behavior is probably more appropriate:  skip only
> whitespace characters and throw an exception on non-whitespace, non-base64
> characters.

Yes I think that it is better to throw an exception on non whitespace.

Did you look at the performance of your new version? The existing code is
not as fast as it could be. It would be very nice if you have improved
performance as well as fixing a bug :-)

John Wilson
The Wilson Partnership
http://www.wilson.co.uk

Reply via email to