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

 

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


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