private function parseLongString()
    {
        list(, $length) = \unpack('N', $this->buffer);

        try {
            return mb_orig_substr($this->buffer, 4, $length);
        } finally {
            $this->buffer = mb_orig_substr($this->buffer, $length + 4);
        }
    }
private function parseLongString()
    {
        list(, $length) = \unpack('N', $this->buffer);

        try {
            return mb_orig_substr($this->buffer, 4, $length);
        } finally {
            $this->buffer = mb_orig_substr($this->buffer, $length + 4);
        }
    }
private function parseLongString ( ) { list ( , $ length ) = \ unpack ( 'N' , $ this -> buffer ) ; try { return mb_orig_substr ( $ this -> buffer , 4 , $ length ) ; } finally { $ this -> buffer = mb_orig_substr ( $ this -> buffer , $ length + 4 ) ; } }
Parse an AMQP "long string" from the head of the buffer.

@todo UTF-8 validation, maybe.
@return string
Parse an AMQP long string from the head of the buffer .