/****System.arraycopy()方法做数byte数组copy****/
public static byte[] byteMerger(byte[] by0, byte[] by1){
byte[] barray = new byte[by0.length+by1.length];
System.arraycopy(by0, 0, barray, 0, by0.length);
System.arraycopy(by1, 0, barray, by0.length, by1.length);
return barray;
}
System.arraycopy()方法做数byte数组copy
最新推荐文章于 2022-10-11 22:01:29 发布