code: def create(*i2c_msg_instances):
          
          n_msg = len(i2c_msg_instances)
          msg_array = (i2c_msg * n_msg)(*i2c_msg_instances)
          return i2c_rdwr_ioctl_data(
              msgs=msg_array,
              nmsgs=n_msg
          )
docs: Factory method for creating a i2c_rdwr_ioctl_data struct that can
          be called with ``ioctl(fd, I2C_RDWR, data)``.
  
          :param i2c_msg_instances: Up to 42 i2c_msg instances
          :rtype: i2c_rdwr_ioctl_data