GetNonZeroBytes()

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)

Arguments

ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes array to fill.

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)

Arguments

ParameterTypeDescription
bytesSystem::Details::ArrayView<uint8_t>Bytes array view to fill.

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)

Arguments

ParameterTypeDescription
bytesSystem::Details::StackArray<uint8_t, N>&Bytes stack array to fill.

See Also