|
From: Sophia Li <Sop...@Su...> - 2007-03-31 08:14:08
|
Peter Stuge wrote: >>BTW: this function would be not necessary in that case. >> 617 int libusb_get_raw_device_desc(libusb_device_id_t devid, >> 618 unsigned char *buffer, size_t buflen); > > > Yes it would, and I think that's what the discussion was about. > > The buffer returned by get_raw.. returns data as it looks when read > from the device. If the data is cooked (split out into a struct) > alignment rules will be applied and it will not be possible to read > the raw data. I can see this being desirable for debugging. > I thought people would only like to use the human readable form. Seems you would more like to read raw data. Ok, let's keep it. Sophia |