On Sat, Jun 21, 2008 at 2:19 PM, sebb <[EMAIL PROTECTED]> wrote:

> How should Base64.decode() handle invalid encoded data?

I'd vote for an IOException. As the RFC indicates, such characters are
more than likely indicators for errors. If anyone requires such a
message, it is easy to implement a FilterInputStream, or FilterReader.

Jochen


-- 
Look, that's why there's rules, understand? So that you think before
you break 'em.

 -- (Terry Pratchett, Thief of Time)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to