System::BitConverter::ToInt32 method

BitConverter::ToInt32(const System::ArrayPtr<uint8_t>&, int) method

Converts four bytes from the specified array starting at the specified index to 32-bit integer value.

static int System::BitConverter::ToInt32(const System::ArrayPtr<uint8_t> &value, int startIndex)
ParameterTypeDescription
valueconst System::ArrayPtr<uint8_t>&Array that contains bytes to convert
startIndexintIndex in the array at which to start taking bytes for conversion

ReturnValue

32-bit integer value resulting from conversion

See Also

BitConverter::ToInt32(const System::Details::ArrayView<uint8_t>&, int) method

Converts four bytes from the specified array starting at the specified index to 32-bit integer value.

static int System::BitConverter::ToInt32(const System::Details::ArrayView<uint8_t> &value, int startIndex)
ParameterTypeDescription
valueconst System::Details::ArrayView<uint8_t>&ArrayView that contains bytes to convert
startIndexintIndex in the array at which to start taking bytes for conversion

ReturnValue

32-bit integer value resulting from conversion

See Also