com.onlineobject.objectnet Namespace

EmbeddedConverter..::..ToUShort Method

Converts the 2 bytes in the array at startIndex to a UInt16.

Namespace:  com.onlineobject.objectnet.server.Utils
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


[MethodImplAttribute]

public static ushort ToUShort(

	byte[] array,

	int startIndex

)

Parameters

array
Type: array<Byte>[]()[][]
The array to read the bytes from.
startIndex
Type: Int32
The position in the array at which to read the bytes.

Return Value

The converted UInt16.