<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_feature_report(self, size, report_id=0x00):
 """ Get a feature report from a HID device. Feature reports are sent over the Control endpoint as a Get_Report transfer. Parameters: size The number of bytes to read. report_id The report id to read Returns: They bytes read from the HID report """

        data = [0] * (size+1)
        cdata = ffi.new("unsigned char[]", bytes(data))
        cdata[0] = report_id

        bytes_read = hidapi.hid_get_feature_report(self._device, cdata, len(cdata))

        if bytes_read == -1:
            raise HIDException("Failed to get feature report from HID device")

        return bytearray(cdata[1:size+1])