Class XMLRPCDecoder.Base64

java.lang.Object
XMLRPCDecoder.Base64
Enclosing class:
XMLRPCDecoder

public static final class XMLRPCDecoder.Base64 extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static char[]
    Code characters for values 0..63
    private static byte[]
    Lookup table for converting base64 characters to value in range 0..63
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static byte[]
    decode(byte[] data)
    Returns an array of bytes which were encoded in the passed character array.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • alphabet

      private static char[] alphabet
      Code characters for values 0..63
    • codes

      private static byte[] codes
      Lookup table for converting base64 characters to value in range 0..63
  • Constructor Details

    • Base64

      public Base64()
  • Method Details

    • decode

      public static byte[] decode(byte[] data)
      Returns an array of bytes which were encoded in the passed character array.
      Parameters:
      data - the array of base64-encoded characters
      Returns:
      decoded data array