[fpc-pascal] USB Human Interface Devices

wkitty42 at windstream.net wkitty42 at windstream.net
Mon Aug 19 12:16:39 CEST 2019


On 8/19/19 4:24 AM, James Richters wrote:
> I've been reading about libusb here:
> https://www.cs.unm.edu/~hjelmn/libusb_hotplug_api/group__syncio.html
> 
> some things I just don't really understand, I'm hoping someone can explain:
> 
> The wValue, wIndex and wLength fields values should be given in host-endian byte order.
> What does host-endian byte order mean??


if your machine is little endian, then you set those values in little endian... 
if your machine is big endian, then you use that...

intel/amd PC systems are generally little endian...

https://en.wikipedia.org/wiki/Endianness

-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*


More information about the fpc-pascal mailing list