I have some HID code that writes output reports to a device using write() that I'm trying to port to OS X - The closest match I found it IOHIDDeviceSetReport(), but how do I translate the parameters for write (a buffer and a length) to the set of parameters requested by IOHIDDeviceSetReport()?
	
		
			
		
		
	
				
			 
 
		