public class Base64 extends Object
| 构造器和说明 |
|---|
Base64() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
base64Decode(String value)
Used to decode the data with base64
|
static String |
base64Encode(byte[] bytes)
Used to encode the data with base64 and
StandardCharsets.ISO_8859_1 coded |
public static String base64Encode(byte[] bytes)
StandardCharsets.ISO_8859_1 codedbytes - the data need to be encodedpublic static byte[] base64Decode(String value)
value - the data need to be decodedCopyright © 2022. All rights reserved.