public final class Base64Util extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
decode(byte[] encoded) |
static byte[] |
decodeString(String encoded)
Decodes a base64 encoded string.
|
static byte[] |
decodeURL(byte[] src)
Decodes a byte array in base64 URL format.
|
static byte[] |
encode(byte[] src) |
static String |
encodeToString(byte[] src) |
static byte[] |
encodeURLWithoutPadding(byte[] src) |
public static byte[] encode(byte[] src)
public static byte[] encodeURLWithoutPadding(byte[] src)
public static String encodeToString(byte[] src)
public static byte[] decode(byte[] encoded)
public static byte[] decodeURL(byte[] src)
public static byte[] decodeString(String encoded)
Copyright © 2024. All rights reserved.