合并数组

合并字符串为byte[]:

string str;

byte[] b = new byte[10];

System.arraycopy(str.getBytes(),0,b,str.getBytes());

 

 

你可能感兴趣的:(String,byte)