关于Object,String类型和 byte[]的互转
import ch.qos.logback.core.encoder.ByteArrayUtil;
String s = ByteArrayUtil.toHexString(bytes);
byte[] file_bytes= ByteArrayUtil.hexStringToByteArray(str);
byte[] file_bytes= ByteArrayUtil.hex...
原创
2019-10-23 09:57:58 ·
506 阅读 ·
0 评论