A DESCRIPTION OF THE REQUEST :
I found that maximum radix value (Character.MAX_RADIX) is 36, when parsing strings to decimal integers (Long.valueOf(string, radix) or Integer.valueOf(string, radix)). However it would be very useful, if there was also support for base-64 integers.
In report 4615330 I found that there are packages sun.misc.BASE64Decoder and sun.misc.BASE64Encoder. Maybe these could be included to J2SE?
JUSTIFICATION :
In some cases there is use for base-64 integers or byte array. For example formatting 64 based cryptographic key to byte array.
###@###.### 2005-1-28 06:07:17 GMT
I found that maximum radix value (Character.MAX_RADIX) is 36, when parsing strings to decimal integers (Long.valueOf(string, radix) or Integer.valueOf(string, radix)). However it would be very useful, if there was also support for base-64 integers.
In report 4615330 I found that there are packages sun.misc.BASE64Decoder and sun.misc.BASE64Encoder. Maybe these could be included to J2SE?
JUSTIFICATION :
In some cases there is use for base-64 integers or byte array. For example formatting 64 based cryptographic key to byte array.
###@###.### 2005-1-28 06:07:17 GMT
- duplicates
-
JDK-4235519 Make sun.misc.BASE64{De,En}coder classes public
-
- Closed
-