---
title: "System::Text::Json::PooledByteBufferWriter::WriteToStream method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/pooledbytebufferwriter/writetostream/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use WriteToStream method of System::Text::Json::PooledByteBufferWriter class in C++."
---

## PooledByteBufferWriter::WriteToStream method




```cpp
void System::Text::Json::PooledByteBufferWriter::WriteToStream(System::SharedPtr<IO::Stream> destination)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PooledByteBufferWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
