private function parseTable()
    {
        $length = $this->parseUnsignedInt32();
        $stopAt = strlen($this->buffer) - $length;
        $table = [];

        while (strlen($this->buffer) > $stopAt) {
            $table[$this->parseShortString()] = $this->parseField();
        }

        return $table;
    }
private function parseTable()
    {
        $length = $this->parseUnsignedInt32();
        $stopAt = strlen($this->buffer) - $length;
        $table = [];

        while (strlen($this->buffer) > $stopAt) {
            $table[$this->parseShortString()] = $this->parseField();
        }

        return $table;
    }
private function parseTable ( ) { $ length = $ this -> parseUnsignedInt32 ( ) ; $ stopAt = strlen ( $ this -> buffer ) - $ length ; $ table = [ ] ; while ( strlen ( $ this -> buffer ) > $ stopAt ) { $ table [ $ this -> parseShortString ( ) ] = $ this -> parseField ( ) ; } return $ table ; }
Parse an AMQP table from the head of the buffer.
@return array
@throws \PHPDaemon\Clients\AMQP\Driver\Protocol\Exception\AMQPProtocolException
Parse an AMQP table from the head of the buffer .