Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6222750

Base64 integer support

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs
    • x86
    • windows_2000

      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

            iris Iris Clark
            jssunw Jitender S (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: