BitConverter: ToLong

ToLong

Converts an array of bytes to a Long value.



 Public Function ToLong(
	  ByRef Bytes ( ) As Byte,
	  ByVal startIndex As Long ) As Long

Parameters

Bytes
[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 VBCorLib Overview Class BitConverter Overview BitConverter Properties BitConverter Methods ToInteger ToSingle