protected function encodeHeader(): string
    {
        return \pack('n*', ...[
            $this->id,
            $this->getFlags(),
            \count($this->questions),
            \count($this->answers),
            $this->authorityCount,
            $this->additionalCount
        ]);
    }
protected function encodeHeader(): string
    {
        return \pack('n*', ...[
            $this->id,
            $this->getFlags(),
            \count($this->questions),
            \count($this->answers),
            $this->authorityCount,
            $this->additionalCount
        ]);
    }
protected function encodeHeader ( ) : string { return \ pack ( 'n*' , ... [ $ this -> id , $ this -> getFlags ( ) , \ count ( $ this -> questions ) , \ count ( $ this -> answers ) , $ this -> authorityCount , $ this -> additionalCount ] ) ; }
Encode the message header into it's binary form.
Encode the message header into it s binary form .