## Random::NextBytes method


用随机数填充指定字节数组的元素。

```cpp
virtual void System::Random::NextBytes(const ArrayPtr<uint8_t> &buffer)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 缓冲区 | const ArrayPtr\<uint8_t\>\& | 要填充的数组 |

## 另见

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Random](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
