public abstract class Base64Utils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private static Charset |
DEFAULT_CHARSET |
| 构造器和说明 |
|---|
Base64Utils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
decode(byte[] src) |
static byte[] |
decodeFromString(String src) |
static byte[] |
decodeFromUrlSafeString(String src) |
static byte[] |
decodeUrlSafe(byte[] src) |
static byte[] |
encode(byte[] src) |
static String |
encodeToString(byte[] src) |
static String |
encodeToUrlSafeString(byte[] src) |
static byte[] |
encodeUrlSafe(byte[] src) |
private static final Charset DEFAULT_CHARSET
public static byte[] encode(byte[] src)
public static byte[] decode(byte[] src)
public static byte[] encodeUrlSafe(byte[] src)
public static byte[] decodeUrlSafe(byte[] src)
public static String encodeToString(byte[] src)
public static byte[] decodeFromString(String src)
public static String encodeToUrlSafeString(byte[] src)
public static byte[] decodeFromUrlSafeString(String src)
Copyright © 2023. All rights reserved.