|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object redstone.xmlrpc.util.Base64
public class Base64
Provides encoding of raw bytes to base64-encoded characters, and decoding of base64 characters to raw bytes.
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static byte[] |
decode(byte[] data)
Returns an array of bytes which were encoded in the passed character array. |
static char[] |
encode(byte[] data)
Returns an array of base64-encoded characters to represent the passed data array. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64()
Method Detail |
---|
public static char[] encode(byte[] data)
data
- the array of bytes to encode
public static byte[] decode(byte[] data)
data
- the array of base64-encoded characters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |