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


Rellena los elementos de la matriz existente con bytes aleatorios diferentes de cero.

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


| 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::GetNonZeroBytes(System::Details::ArrayView\<uint8_t\>) method


Rellena los elementos de la vista de matriz existente con bytes aleatorios diferentes de cero.

```cpp
virtual void System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes(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::GetNonZeroBytes(System::Details::StackArray\<uint8_t, N\>\&) method


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

```cpp
template<std::size_t> void System::Security::Cryptography::RandomNumberGenerator::GetNonZeroBytes(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++](../../../)
