HostEndianToLE16 Method (swapValue)

LibUsbDotNet

LibUsbDotNet 2.2.8 HostEndianToLE16 Method (swapValue)
Library ReferenceLibUsbDotNet.MainHelperHostEndianToLE16(Int16)
LibUsbDotNet on SourceForge
Swaps low and high bytes on big endian systems. Has no effect on little endian systems.
Declaration Syntax
C# Visual Basic Visual C++
public static short HostEndianToLE16(
	short swapValue
)
Public Shared Function HostEndianToLE16 ( _
	swapValue As Short _
) As Short
public:
static short HostEndianToLE16(
	short swapValue
)
Parameters
swapValue (Int16)
The value to convert.
Return Value
a swapped value an big endian system, the same value on little endian systems

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)