摘要: JAVA里面关于byte数组和String之间的转换问题 引自:http://soniccyj.bokee.com/6175850.html JAVA里面关于byte数组和String之间的转换问题 把byte转化成string,必须经过编码。 例如下面一个例子: import java.io.UnsupportedEncodingException; public class test{ public static void main(String g[]) { String s = "12345abcd"; byte b[] = s.getBytes()... 阅读全文
posted @ 2013-08-13 15:34 alibabaidu 阅读(129) 评论(0) 推荐(0)