protected function encodeHeader(): string
    {
        return \pack('n*', ...[
            $this->id,
            $this->getFlags(),
            \count($this->questions),
            \count($this->answers),
            $this->authorityCount,
            $this->additionalCount
        ]);
    }