十六进制 转 有符号short 的方法

 

String hex = "EC78";
Short val = (short)Integer.parseInt(hex,16);


posted @ 2022-08-25 16:56  蜜铀  阅读(48)  评论(0编辑  收藏  举报