System::Security::Cryptography::RandomNumberGenerator::GetBytes メソッド

RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t>) method

既存の配列要素をランダムバイトで埋めます。

virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t> bytes)=0
パラメーター説明
バイトArrayPtr<uint8_t>埋めるバイト配列。

参照

RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t>, int, int) method

既存の配列スライスをランダムバイトで埋めます。

virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t> bytes, int offset, int count)
パラメーター説明
バイトArrayPtr<uint8_t>埋める対象のバイト配列スライス。
offsetintスライスの開始インデックス。
countintスライスのサイズ。

参照

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

既存の配列ビュー要素をランダムバイトで埋めます。

virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t> bytes)
パラメーター説明
バイトSystem::Details::ArrayView<uint8_t>埋めるためのバイト配列ビュー。

参照

RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t>, int, int) method

既存の配列ビューのスライスをランダムバイトで埋めます。

virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t> bytes, int offset, int count)
パラメーター説明
バイトSystem::Details::ArrayView<uint8_t>埋める対象のバイト配列ビューのスライス。
offsetintスライスの開始インデックス。
countintスライスのサイズ。

参照

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

既存のスタック配列要素をランダムバイトで埋めます。

template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N> &bytes)
パラメーター説明
バイトSystem::Details::StackArray<uint8_t, N>&埋めるためのバイトスタック配列。

参照

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

既存のスタック配列スライスをランダムバイトで埋めます。

template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N> &bytes, int offset, int count)
パラメーター説明
バイトSystem::Details::StackArray<uint8_t, N>&埋める対象のバイトスタック配列のスライス。
offsetintスライスの開始インデックス。
countintスライスのサイズ。

参照