Método System::Security::Cryptography::RandomNumberGenerator::GetBytes

RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t>) method

Llena los elementos existentes del arreglo con bytes aleatorios.

virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t> bytes)=0
ParámetroTipoDescripción
bytesArrayPtr<uint8_t>Array de bytes a rellenar.

Ver también

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

Llena la porción existente del arreglo con bytes aleatorios.

virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t> bytes, int offset, int count)
ParámetroTipoDescripción
bytesArrayPtr<uint8_t>Array de bytes del cual rellenar una porción.
desplazamientointÍndice inicial de la porción.
countintTamaño de la porción.

Ver también

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

Llena los elementos de la vista existente del arreglo con bytes aleatorios.

virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t> bytes)
ParámetroTipoDescripción
bytesSystem::Details::ArrayView<uint8_t>Vista del array de bytes a rellenar.

Ver también

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

Rellena la porción de vista de matriz existente con bytes aleatorios.

virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t> bytes, int offset, int count)
ParámetroTipoDescripción
bytesSystem::Details::ArrayView<uint8_t>Vista del array de bytes del cual rellenar una porción.
desplazamientointÍndice inicial de la porción.
countintTamaño de la porción.

Ver también

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

Rellena los elementos de la matriz de pila existente con bytes aleatorios.

template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N> &bytes)
ParámetroTipoDescripción
bytesSystem::Details::StackArray<uint8_t, N>&Array de bytes en pila a rellenar.

Ver también

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

Rellena la porción de la matriz de pila existente con bytes aleatorios.

template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N> &bytes, int offset, int count)
ParámetroTipoDescripción
bytesSystem::Details::StackArray<uint8_t, N>&Array de bytes en pila del cual rellenar una porción.
desplazamientointÍndice inicial de la porción.
countintTamaño de la porción.

Ver también