Converts eight bytes beginning at the specified index in the specified array into a 64-bit signed integer value.
[Visual Basic] Public Shared Function ToInt64( _ ByVal value() As Byte, _ ByVal startIndex As Integer _ ) As Long [C#] public static long ToInt64( byte[] value, int startIndex ); [C++] public: static __int64 ToInt64( unsigned char* value[], int startIndex ); [JScript] public static function ToInt64( value : Byte[], startIndex : int ) : long;
A 64-bit signed integer formed from eight unsigned bytes beginning at startIndex.
Exception Type | Condition |
---|---|
ArgumentException | value is null. |
ArgumentException | startIndex is a value that results in invalid access to the array. |
BitConverter Class | BitConverter Members | System Namespace