EndianBitConverterToUInt16 Method  | 
 
            Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
            
 
    Namespace: 
   AGI.Foundation.Infrastructure
    Assembly:
   AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic ushort ToUInt16(
	byte[] value,
	int startIndex
)
Public Function ToUInt16 ( 
	value As Byte(),
	startIndex As Integer
) As UShort
public:
unsigned short ToUInt16(
	array<unsigned char>^ value, 
	int startIndex
)
member ToUInt16 : 
        value : byte[] * 
        startIndex : int -> uint16 
Parameters
- value
 - Type: SystemByte
An array of bytes. - startIndex
 - Type: SystemInt32
The starting position within value. 
Return Value
Type: 
UInt16A 16-bit unsigned integer formed by two bytes beginning at 
startIndex.
See Also