System::BitConverter::ToUInt64 方法

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

将指定数组中从指定索引开始的八个字节转换为无符号 64 位整数值。

static uint64_t System::BitConverter::ToUInt64(const System::ArrayPtr<uint8_t> &value, int startIndex)
参数类型描述
valueconst System::ArrayPtr<uint8_t>&Array 包含要转换的字节
startIndexint在数组中开始取字节进行转换的索引

ReturnValue

转换后得到的无符号 64 位整数值

另见

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

将指定数组中从指定索引开始的八个字节转换为无符号 64 位整数值。

static uint64_t System::BitConverter::ToUInt64(const System::Details::ArrayView<uint8_t> &value, int startIndex)
参数类型描述
const System::Details::ArrayView<uint8_t>&包含要转换字节的 ArrayView
startIndexint在数组中开始取字节进行转换的索引

ReturnValue

转换后得到的无符号 64 位整数值

另见