System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes method

RandomNumberGenerator::GetNonZeroBytes(ArrayPtr<uint8_t>) method

Fills existing array elements with random non-zero bytes.

virtual void System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes(ArrayPtr<uint8_t> bytes)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes array to fill.

See Also

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

Fills existing array view elements with random non-zero bytes.

virtual void System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes(System::Details::ArrayView<uint8_t> bytes)
ParameterTypeDescription
bytesSystem::Details::ArrayView<uint8_t>Bytes array view to fill.

See Also

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

Fills existing stack array elements with random non-zero bytes.

template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes(System::Details::StackArray<uint8_t, N> &bytes)
ParameterTypeDescription
bytesSystem::Details::StackArray<uint8_t, N>&Bytes stack array to fill.

See Also