public static byte[] subPackage(byte[] byte_1, byte[] byte_2, int size) {
if (byte_1 == null && byte_2 == null) {
return null;
} else if (byte_1 == null) {
byte[] byte_3 = new byte[size];
System.arraycopy(byte_2, 0, byte_3, 0, size);
return byte_3;
} else if (byte_2 == null) {
byte[] byte_3 = new byte[byte_1.length];
System.arraycopy(byte_1, 0, byte_3, 0, byte_1.length);
return byte_3;
} else {
byte[] byte_3 = new byte[byte_1.length + size];
System.arraycopy(byte_1, 0, byte_3, 0, byte_1.length);
System.arraycopy(byte_2, 0, byte_3, byte_1.length, size);
return byte_3;
}
}