encode

open fun encode(packet: Packet<out Any>, secret: UUID): Array<Byte>