## MemoryStream::ToArray method


返回底层内存缓冲区的副本，作为字节数组。

```cpp
virtual ArrayPtr<uint8_t> System::IO::MemoryStream::ToArray()
```

## 另见

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [MemoryStream](../)
* Namespace [System::IO](../../)
* Library [Aspose.Font for C++](../../../)
