1、自动补传功能

This commit is contained in:
weidong 2023-12-22 16:48:43 +08:00
parent c5ae6d4f69
commit ea1a5f532d

View File

@ -337,7 +337,8 @@ public class ByteUtil {
*/ */
public static String bytesToHexString(byte[] b) { public static String bytesToHexString(byte[] b) {
StringBuffer buffer = new StringBuffer(); StringBuffer buffer = new StringBuffer();
for (int i = 0; i < b.length; ++i) { int i = 0;
for (i = 0; i < b.length; ++i) {
buffer.append(byteToHexString(b[i])); buffer.append(byteToHexString(b[i]));
} }
return buffer.toString(); return buffer.toString();