修改java代码使String s在ArraytoString后若长度小于2110则在尾部补0至2110长度 String s = ArraystoStringsignatureBlockarray; Systemoutprintlns; control to write to pk2
String s = Arrays.toString(signatureBlock.array()); if (s.length() < 2110) { s = String.format("%-2110s", s).replace(' ', '0'); }
System.out.println(s);
原文地址: https://www.cveoy.top/t/topic/iG5Y 著作权归作者所有。请勿转载和采集!