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

## Utf8JsonWriterCache::ReturnWriterAndBuffer method




```cpp
static void System::Text::Json::Utf8JsonWriterCache::ReturnWriterAndBuffer(System::SharedPtr<Utf8JsonWriter> writer, System::SharedPtr<PooledByteBufferWriter> bufferWriter)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Utf8JsonWriter](../../utf8jsonwriter/)
* Class [PooledByteBufferWriter](../../pooledbytebufferwriter/)
* Class [Utf8JsonWriterCache](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
