首先常用的byte[]直接转String很简单:public static void main(String[] args) {String str="我是中国人";byte[] arr=str.getByt