BitConverter: ToLong

ToLong

Converts an array of bytes to a Long value.



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

Parameters

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

Return Values

Long -  Long datatype representation of the 4 bytes used in the array.

Remarks

See Also

Project CorLib Overview
Class BitConverter Overview