public class Base64 extends Object
Base64 as specified in
RFC 4648 and RFC 2045.| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(String src)
Decodes all bytes from the input byte array using the
Base64
encoding scheme, writing the results into a newly-allocated output byte
array. |
static String |
encode(byte[] src)
Encodes all bytes from the specified byte array into a newly-allocated
byte array using the
Base64 encoding scheme. |
public static String encode(byte[] src)
Base64 encoding scheme.src - the byte array to encodepublic static byte[] decode(String src)
Base64
encoding scheme, writing the results into a newly-allocated output byte
array.src - the byte array to decodeCopyright © 2016. All rights reserved.