$this->size().chr($this->tag),'body'=>$this->body()]; } protected function size(): string { // Use 5-octet lengths + 1 for tag as first packet body octet return chr(255).pack('N',strlen($this->body())+1); } }