FPacket::Encode

Encodes a packet.