System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes 方法

RandomNumberGenerator::GetNonZeroBytes(ArrayPtr<uint8_t>) method

用随机非零字节填充现有数组元素。

virtual void System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes(ArrayPtr<uint8_t> bytes)
参数类型描述
字节ArrayPtr<uint8_t>要填充的字节数组。

另见

RandomNumberGenerator::GetNonZeroBytes(System::Details::ArrayView<uint8_t>) method

用随机非零字节填充现有数组视图元素。

virtual void System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes(System::Details::ArrayView<uint8_t> bytes)
参数类型描述
字节System::Details::ArrayView<uint8_t>要填充的字节数组视图。

另见

RandomNumberGenerator::GetNonZeroBytes(System::Details::StackArray<uint8_t, N>&) method

用随机非零字节填充现有栈数组元素。

template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes(System::Details::StackArray<uint8_t, N> &bytes)
参数类型描述
字节System::Details::StackArray<uint8_t, N>&要填充的字节栈数组。

另见