public function encode() { parent::encode(); $this->putLong($this->pingID); $this->put(RakLib::MAGIC); }