byte[] bytes = new byte[] { 0x43, 0x68, 0x65, 0x6e, 0, 0, 0, 0, 0, 0 }; // Chen
String str = EncodingUtils.getAsciiString(bytes);
byte[] bytes = new byte[] { 0x43, 0x68, 0x65, 0x6e, 0, 0, 0, 0, 0, 0 }; // Chen
String str = EncodingUtils.getAsciiString(bytes);
转载于:https://www.cnblogs.com/demon-heart/archive/2013/04/19/3029847.html