/** * 将16进制转换为二进制 * * @param hexString * @return */ public static String hexString2binaryString(String hexString) { //16进制转10进制 BigInteger sint = new BigInteger(hexString, 16); //10进制转2进制 String result = sint.toString(2); //字符串反转 return new StringBuilder(result).reverse().toString(); }
标签:十六进制,进制,16,二进制,hexString,String From: https://www.cnblogs.com/jdearfaust/p/16868782.html