Java代码优化:将String s在Array.toString后补零至2110长度
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/qnBR 著作权归作者所有。请勿转载和采集!