public interface BytesConverter
限定符和类型 | 方法和说明 |
---|---|
byte[] |
decode(String str)
解码
|
String |
encode(byte... bytes)
编码
|
static BytesConverter |
getInstance(@NonNull Byte2StringType type) |
static BytesConverter getInstance(@NonNull @NonNull Byte2StringType type)
String encode(byte... bytes)
bytes
- 将字节数组转换为字符串byte[] decode(String str)
str
- 字符串