public class Base64Util extends Object
Constructor and Description |
---|
Base64Util() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
b64Decode(String s)
Base64 decode the string.
|
static String |
b64Encode(byte[] bytes)
Base64 Encode the byte array without breaking lines.
|
static String |
b64Encode(String str)
Base64 Encode without breaking lines.
|
public static String b64Encode(String str)
str
- the string to be encodedpublic static String b64Encode(byte[] bytes)
bytes
- the bytespublic static byte[] b64Decode(String s)
s
- the string to be decodedCopyright © 2017. All rights reserved.