protected function buildMessageHeader()
    {
        $len = 0;
        foreach ($this->segments as $segment) {
            $len += strlen($segment);
        }

        return new HNHBK($len, $this->dialogId, $this->messageNumber);
    }
protected function buildMessageHeader()
    {
        $len = 0;
        foreach ($this->segments as $segment) {
            $len += strlen($segment);
        }

        return new HNHBK($len, $this->dialogId, $this->messageNumber);
    }
protected function buildMessageHeader ( ) { $ len = 0 ; foreach ( $ this -> segments as $ segment ) { $ len += strlen ( $ segment ) ; } return new HNHBK ( $ len , $ this -> dialogId , $ this -> messageNumber ) ; }
Builds the message header.

@return HNHBK
Builds the message header .