public class Base64Encoder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
getBytes(java.lang.String base64String)
Converts a string to a byte array.
|
static java.lang.String |
getString(byte[] bytes)
Converts a byte array to a Base64 string.
|
public static byte[] getBytes(java.lang.String base64String)
base64String
- The input Base64 string.public static java.lang.String getString(byte[] bytes)
bytes
- The input byte array.