<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_raw_data(self):

 """Get raw HID report based on internal report item settings,
 creates new c_ubytes storage
 """

        if self.__report_kind != HidP_Output \
                and self.__report_kind != HidP_Feature:
            raise HIDError("Only for output or feature reports")
        self.__prepare_raw_data()
        #return read-only object for internal storage
        return helpers.ReadOnlyList(self.__raw_data)