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);
        }
    }