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


Remplit les éléments existants du tableau avec des octets aléatoires.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| octets | ArrayPtr\<uint8_t\> | Tableau d'octets à remplir. |

## Voir aussi

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


Remplit la tranche existante du tableau avec des octets aléatoires.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| octets | ArrayPtr\<uint8_t\> | Tranche du tableau d'octets à remplir. |
| décalage | int | Indice de début de la tranche. |
| count | int | Taille de la tranche. |

## Voir aussi

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


Remplit les éléments de la vue du tableau existante avec des octets aléatoires.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| octets | System::Details::ArrayView\<uint8_t\> | Vue du tableau d'octets à remplir. |

## Voir aussi

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


Remplit la tranche de la vue du tableau existante avec des octets aléatoires.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| octets | System::Details::ArrayView\<uint8_t\> | Vue du tableau d'octets pour remplir la tranche de. |
| décalage | int | Indice de début de la tranche. |
| count | int | Taille de la tranche. |

## Voir aussi

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


Remplit les éléments du tableau empilé existant avec des octets aléatoires.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| octets | System::Details::StackArray\<uint8_t, N\>\& | Tableau d'octets sur la pile à remplir. |

## Voir aussi

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


Remplit la tranche du tableau empilé existant avec des octets aléatoires.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| octets | System::Details::StackArray\<uint8_t, N\>\& | Tableau de pile d'octets pour remplir la tranche de. |
| décalage | int | Indice de début de la tranche. |
| count | int | Taille de la tranche. |

## Voir aussi

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