## RandomNumberGenerator::GetBytes(ArrayPtr\<uint8_t\>) method


Llena los elementos existentes del arreglo con bytes aleatorios.

```cpp
virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t> bytes)=0
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| bytes | ArrayPtr\<uint8_t\> | Arreglo de bytes a rellenar. |

## Ver también

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [RandomNumberGenerator](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
## RandomNumberGenerator::GetBytes(ArrayPtr\<uint8_t\>, int, int) method


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

```cpp
virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(ArrayPtr<uint8_t> bytes, int offset, int count)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| bytes | ArrayPtr\<uint8_t\> | Matriz de bytes para llenar porción de. |
| desplazamiento | int | Índice inicial de la porción. |
| count | int | Tamaño de la porción. |

## Ver también

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [RandomNumberGenerator](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
## RandomNumberGenerator::GetBytes(System::Details::ArrayView\<uint8_t\>) method


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

```cpp
virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t> bytes)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| bytes | System::Details::ArrayView\<uint8_t\> | Vista de matriz de bytes para llenar. |

## Ver también

* Class [RandomNumberGenerator](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
## RandomNumberGenerator::GetBytes(System::Details::ArrayView\<uint8_t\>, int, int) method


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

```cpp
virtual void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::ArrayView<uint8_t> bytes, int offset, int count)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| bytes | System::Details::ArrayView\<uint8_t\> | Vista de matriz de bytes para llenar porción de. |
| desplazamiento | int | Índice inicial de la porción. |
| count | int | Tamaño de la porción. |

## Ver también

* Class [RandomNumberGenerator](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
## RandomNumberGenerator::GetBytes(System::Details::StackArray\<uint8_t, N\>\&) method


Llena los elementos existentes del arreglo de pila con bytes aleatorios.

```cpp
template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N> &bytes)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| bytes | System::Details::StackArray\<uint8_t, N\>\& | Matriz de pila de bytes para llenar. |

## Ver también

* Class [RandomNumberGenerator](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
## RandomNumberGenerator::GetBytes(System::Details::StackArray\<uint8_t, N\>\&, int, int) method


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

```cpp
template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetBytes(System::Details::StackArray<uint8_t, N> &bytes, int offset, int count)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| bytes | System::Details::StackArray\<uint8_t, N\>\& | Matriz de pila de bytes para llenar porción de. |
| desplazamiento | int | Índice inicial de la porción. |
| count | int | Tamaño de la porción. |

## Ver también

* Class [RandomNumberGenerator](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Page for C++](../../../)
