<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _set_format(self, msg):
 """ Set the buffer formatting. """

        num_points = msg.height * msg.width
        self._format = '<' + num_points * 'ffff'