public class Base64 extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(char[] data)
Decodes a BASE-64 encoded stream to recover the original
data.
|
static char[] |
encode(byte[] data)
returns an array of base64-encoded characters to represent the
passed data array.
|
static void |
main(String[] args)
Entry point.
|
public static char[] encode(byte[] data)
data
- the array of bytes to encodepublic static byte[] decode(char[] data)
data
- the character data.public static void main(String[] args)
args
- the command line arguments.Copyright © 2001–2018 JFree.org. All rights reserved.