EndianBitConverter.ToInt32 Method |
Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic int ToInt32(
byte[] value,
int startIndex
)
Public Function ToInt32 (
value As Byte(),
startIndex As Integer
) As Integer
public:
int ToInt32(
array<unsigned char>^ value,
int startIndex
)
member ToInt32 :
value : byte[] *
startIndex : int -> int
Parameters
- value
- Type:System.Byte[]
An array of bytes. - startIndex
- Type: System.Int32
The starting position within value.
Return Value
Type:
Int32A 32-bit signed integer formed by four bytes beginning at
startIndex.
See Also