![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
sdjkjsdh
这个作者很懒,什么都没留下…
展开
-
Java CRC16校验方法
public class CRC16M { public static void main(String[] args) {// byte[] btm = new byte[] {(byte)0xff,(byte)0xff,(byte)0x00,(byte)0x0d,// (byte)0xf1,(byte)0x00,(byte)0x79,(byte)0x00,// ...转载 2018-12-10 15:23:06 · 1078 阅读 · 0 评论 -
Java Hex转Ascii
public class HexToASCII { /** * @param Hex字符串 * @return 将HEX字符串每两个一组截开,截成Hex数 */ public static List strSplit(String str){ List<String> strList = new ArrayList<String>();// ...转载 2018-12-10 15:25:52 · 1218 阅读 · 0 评论 -
JAVA String与Hex互转
public class StringToHex { /** * 字符串转换为16进制字符串 * * @param s * @return */ public static String stringToHexString(String s) { String str = ""; ...转载 2018-12-10 15:27:00 · 33486 阅读 · 2 评论