> From: John Wilson [mailto:[EMAIL PROTECTED]]
> Subject: Re: Bas64 encoding performance
> +      if (sixBit < 64) {
> +        if (gotEquals) throw new Error("= character not at end of base64
> value");

Technically, if you look at the RFC (which is probably the correct yardstick
for a cross-system base64 implementation), you'll see that this isn't quite
the correct behavior.  Among other things, whitespace and illegal characters
are to be ignored.

RFC 2045, S6.8:
  http://www.ietf.org/rfc/rfc2045.txt


-- Paul

Reply via email to