public final class Base64
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(java.lang.String encoded)
Decodes the specified base64 string back into its raw data.
|
static java.lang.String |
encode(byte[] bytes)
Encodes the specified data into a base64 string.
|
public static java.lang.String encode(byte[] bytes)
bytes
- The unencoded raw data.public static byte[] decode(java.lang.String encoded)
encoded
- The base64 encoded string.Copyright © 2017. All Rights Reserved.