commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <ggreg...@seagullsw.com>
Subject [codec] Base64 API
Date Thu, 03 Apr 2003 00:04:27 GMT
Hello,

It seems ponderous to write:

byte b1[] = Base64.encodeBase64(commArea);
byte b2[] = Base64.decodeBase64(commArea);

Why not simply:

byte b1[] = Base64.encode(commArea);
byte b2[] = Base64.decode(commArea);

After all the Base64 class will not have other ??codeBase* methods.

Gary

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message