Class XMLRPCDecoder.Base64
java.lang.Object
XMLRPCDecoder.Base64
- Enclosing class:
- XMLRPCDecoder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
decode
(byte[] data) Returns an array of bytes which were encoded in the passed character array.
-
Field Details
-
alphabet
private static char[] alphabetCode characters for values 0..63 -
codes
private static byte[] codesLookup 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
-