Converts an array of bytes into a 32-bit unsigned integer.
[Visual Basic] Public Shared Function ToUInt32( _ ByVal value() As Byte, _ ByVal startIndex As Integer _ ) As UInt32 [C#] public static uint ToUInt32( byte[] value, int startIndex ); [C++] public: static unsigned int ToUInt32( unsigned char* value[], int startIndex ); [JScript] public static function ToUInt32( value : Byte[], startIndex : int ) : UInt32;
A 32-bit unsigned integer formed by the four bytes beginning at startIndex.
Exception Type | Condition |
---|---|
ArgumentNullException | if value is null. |
ArgumentOutOfRangeException | if startIndex is less than zero or greater than the length of value-4. |
BitConverter Class | BitConverter Members | System Namespace