public final 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)
Encodes binary data to a Base64 encoded characters.
|
public static char[] encode(byte[] data)
data - the array of bytes to encodepublic static byte[] decode(char[] data)
data - data to decode.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.