Converts bytes from the array to Int32.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static int ToInt32( 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 Int32.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | buffer is nullNothingnullptra null reference (Nothing in Visual Basic). |