Converts bytes from the array to UInt32.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [CLSCompliantAttribute(false)] public static uint ToUInt32( byte[] buffer, int offset, XByteOrder order ) |
Parameters
- buffer
- Type: array<
System..::.Byte
>[]()[]
The array of bytes.
- offset
- Type: System..::.Int32
The beginning.
- order
- Type: SGP.XUtility..::.XByteOrder
The byte order.
Return Value
The value of 4 bytes as UInt32.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | buffer is nullNothingnullptra null reference (Nothing in Visual Basic). |