System::BitConverter::ToInt32 method
BitConverter::ToInt32(const System::ArrayPtr<uint8_t>&, int) method
将指定数组中从指定索引开始的四个字节转换为 32 位整数值。
static int System::BitConverter::ToInt32(const System::ArrayPtr<uint8_t> &value, int startIndex)
| Parameter | Type | 描述 |
|---|---|---|
| value | const System::ArrayPtr<uint8_t>& | 包含要转换的字节的 Array |
| startIndex | int | 在数组中开始获取用于转换的字节的索引 |
ReturnValue
转换后得到的 32 位整数值
另见
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Page for C++
BitConverter::ToInt32(const System::Details::ArrayView<uint8_t>&, int) method
将指定数组中从指定索引开始的四个字节转换为 32 位整数值。
static int System::BitConverter::ToInt32(const System::Details::ArrayView<uint8_t> &value, int startIndex)
| Parameter | Type | 描述 |
|---|---|---|
| value | const System::Details::ArrayView<uint8_t>& | 包含待转换字节的 ArrayView |
| startIndex | int | 在数组中开始获取用于转换的字节的索引 |
ReturnValue
转换后得到的 32 位整数值
另见
- Class BitConverter
- Namespace System
- Library Aspose.Page for C++