### Question:
Local_Infile_Response extends Packet { public static Local_Infile_Response loadFromPacket(byte[] packet) { Local_Infile_Response obj = new Local_Infile_Response(); Proto proto = new Proto(packet, 3); obj.sequenceId = proto.get_fixed_int(1); int size = packet.length - proto.offset; obj.data = new byte[size]; System.arraycopy(packet, proto.offset, obj.data, 0, size); return obj; }  ArrayList<byte[]> getPayload(); static Local_Infile_Response loadFromPacket(byte[] packet); public byte[] data; }### Answer:
@Test public void test1() { byte[] packet = Proto.packet_string_to_bytes("" + "05 00 00 00 00 FF FE FD FC"); Local_Infile_Response pkt = Local_Infile_Response.loadFromPacket(packet); assertArrayEquals(packet, pkt.toPacket()); }