## 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\> | Array de bytes a rellenar. |

## Ver también

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [RandomNumberGenerator](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PDF 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\> | Array de bytes del cual rellenar una porción. |
| 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.PDF for C++](../../../)
## RandomNumberGenerator::GetBytes(System::Details::ArrayView\<uint8_t\>) method


Llena los elementos de la vista existente 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 del array de bytes a rellenar. |

## Ver también

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


Rellena la porción de vista de matriz existente 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 del array de bytes del cual rellenar una porción. |
| 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.PDF for C++](../../../)
## RandomNumberGenerator::GetBytes(System::Details::StackArray\<uint8_t, N\>\&) method


Rellena los elementos de la matriz de pila existente 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\>\& | Array de bytes en pila a rellenar. |

## Ver también

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


Rellena la porción de la matriz de pila existente 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\>\& | Array de bytes en pila del cual rellenar una porción. |
| 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.PDF for C++](../../../)
