16进制转ASCII字符串

byte[] bytes = new byte[] { 0x43, 0x68, 0x65, 0x6e, 0, 0, 0, 0, 0, 0 }; // Chen

String str = EncodingUtils.getAsciiString(bytes);

 

 

posted @ 2013-04-19 01:41  染煞之心  阅读(278)  评论(0)    收藏  举报