This method will use two bytes from the given byte array starting at
position to create an unsigned short (stored as an int).

Declaration Syntax

Parameters
- ba (array<
Byte
>[]()[])
- the byte array
- pos (Int32)
- the position to start reading
- byteSwap (Boolean)
- whether or not the bytes need to be swapped

Return Value
the unsigned short
Assembly:
lbmcspdm (Module: lbmcspdm) Version: 6.7.1.0 (1.0.0.0)