编码: string->byte 从看得懂到看不懂
解码:byte->string 从看不懂到看得懂
//string->byte[] 编码 String str3 = "456"; byte[] by = str.getBytes(); System.out.println(Arrays.toString(by)); //byte -> string 解码 String str33 = new String(by); System.out.println(str33);