public final class Base32 extends Object
限定符和类型 | 方法和说明 |
---|---|
static byte[] |
decode(String base32)
解码
|
static String |
decodeStr(String source)
base32解码
|
static String |
decodeStr(String source,
Charset charset)
base32解码
|
static String |
decodeStr(String source,
String charset)
base32解码
|
static String |
encode(byte[] bytes)
编码
|
static String |
encode(String source)
base32编码
|
static String |
encode(String source,
Charset charset)
base32编码
|
static String |
encode(String source,
String charset)
base32编码
|
public static String encode(byte[] bytes)
bytes
- 数据public static String encode(String source, String charset)
source
- 被编码的base32字符串charset
- 字符集public static String encode(String source, Charset charset)
source
- 被编码的base32字符串charset
- 字符集public static byte[] decode(String base32)
base32
- base32编码public static String decodeStr(String source)
source
- 被解码的base32字符串public static String decodeStr(String source, String charset)
source
- 被解码的base32字符串charset
- 字符集Copyright © 2021. All rights reserved.