payload ?? "") > 0){ return ord($this->payload{0}); } return self::NETWORK_ID; } public function decode(){ $this->offset -= 1; //Rewind one byte so we can read the PID $this->payload = $this->get(true); } public function encode(){ //Do not reset the buffer, this class does not have a valid NETWORK_ID constant. $this->put($this->payload); } public function handle(NetworkSession $session) : bool{ return $session->handleUnknown($this); } }