private function parseShortString()
    {
        $length = \ord($this->buffer);

        try {
            return mb_orig_substr($this->buffer, 1, $length);
        } finally {
            $this->buffer = mb_orig_substr($this->buffer, $length + 1);
        }
    }
private function parseShortString()
    {
        $length = \ord($this->buffer);

        try {
            return mb_orig_substr($this->buffer, 1, $length);
        } finally {
            $this->buffer = mb_orig_substr($this->buffer, $length + 1);
        }
    }
private function parseShortString ( ) { $ length = \ ord ( $ this -> buffer ) ; try { return mb_orig_substr ( $ this -> buffer , 1 , $ length ) ; } finally { $ this -> buffer = mb_orig_substr ( $ this -> buffer , $ length + 1 ) ; } }
Parse an AMQP "short string" from the head of the buffer.

The maximum length of a short string is 255 bytes.

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