## Random::NextBytes method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| buffer | const ArrayPtr\<uint8_t\>\& | 要填充的数组 |

## 另见

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