LibUsbDotNet 2.2.8
HostEndianToLE16 Method (swapValue)
Library Reference ► LibUsbDotNet.Main ► Helper ► HostEndianToLE16(Int16)
|
Swaps low and high bytes on big endian systems. Has no effect on little endian systems.
Declaration Syntax
Parameters
- swapValue (Int16)
- The value to convert.
Return Value
a swapped value an big endian system, the same value on little endian systems