BitConverter: ToInteger

ToInteger

Converts an array of bytes to an Integer value.



 Public Function ToInteger(
	  ByRef Value ( ) As Byte,
	  ByVal StartIndex As Long ) As Integer

Parameters

Value
[ByRef] Byte. The array of bytes used to create an integer from.
StartIndex
[ByVal] Long. The starting byte in the array to create an integer from.

Return Values

Integer -  Integer datatype representation of the 2 bytes used in the array.

Remarks

See Also

Project CorLib Overview
Class BitConverter Overview