public Packet(byte header, byte[] data) { this.SetHeader(header); for (int i = 0; i < data.Length; i++) { this.data.AddLast(data[i]); } Packet.CURRENT_PACKET_ID++; this.packetID = BitConverter.GetBytes(CURRENT_PACKET_ID); }