LBM .Net API Documentation
readUShort Method (ba, pos, byteSwap)
Namespacescom.latencybusters.pdmPDMDeserializerreadUShort(array<Byte>[]()[], Int32, Boolean)
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
C#
public virtual ushort readUShort(
	byte[] ba,
	int pos,
	bool byteSwap
)
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)