java-string与byte互换

String s = "245A445A4A000B";
            byte[] data = s.getBytes();//将s转为byte
            String sss = new String(data);//将byte转为string

 

posted on 2016-02-03 15:09  xusulu  阅读(137)  评论(0)    收藏  举报

导航