RE: [codec] Base64.isArrayByteBase64() issue

2005-01-25 Thread Ezra Epstein
,GaryFrom: Ezra Epstein [mailto:[EMAIL PROTECTED]]Sent: Monday, January 24, 2005 5:27 PMTo: commons-dev@jakarta.apache.orgSubject: RE: codec : Bas64.isArrayByteBase64() issueOooops. Wrong patch file. Correct one is attached.= Ezra E.From: Ezra Epstein

codec : Bas64.isArrayByteBase64() issue

2005-01-24 Thread Ezra Epstein
There seem to be 2 issues. Only 255 byte values are used when creating base64Alphabet, but there are 256 possible values octect (shouldn't that be octet ?) isn't shifted despite the fact that Java uses unsigned bytes. It is used unchanged as on offset into an array (zero based). As a

RE: codec : Bas64.isArrayByteBase64() issue

2005-01-24 Thread Ezra Epstein
Oooops. Wrong patch file. Correct one is attached. = Ezra E. From: Ezra Epstein [mailto:[EMAIL PROTECTED]Sent: Mon 1/24/2005 5:22 PMTo: commons-dev@jakarta.apache.orgSubject: codec : Bas64.isArrayByteBase64() issue There seem to be 2 issues. Only 255 byte values are used when