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

Base64 integer support

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: