## Utf8JsonWriterCache::RentWriterAndBuffer(JsonWriterOptions, int32_t, System::SharedPtr\<PooledByteBufferWriter\>\&) method




```cpp
static System::SharedPtr<Utf8JsonWriter> System::Text::Json::Utf8JsonWriterCache::RentWriterAndBuffer(JsonWriterOptions options, int32_t defaultBufferSize, System::SharedPtr<PooledByteBufferWriter> &bufferWriter)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Utf8JsonWriter](../../utf8jsonwriter/)
* Class [JsonWriterOptions](../../jsonwriteroptions/)
* Class [PooledByteBufferWriter](../../pooledbytebufferwriter/)
* Class [Utf8JsonWriterCache](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## Utf8JsonWriterCache::RentWriterAndBuffer(System::SharedPtr\<JsonSerializerOptions\>, System::SharedPtr\<PooledByteBufferWriter\>\&) method




```cpp
static System::SharedPtr<Utf8JsonWriter> System::Text::Json::Utf8JsonWriterCache::RentWriterAndBuffer(System::SharedPtr<JsonSerializerOptions> options, System::SharedPtr<PooledByteBufferWriter> &bufferWriter)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Utf8JsonWriter](../../utf8jsonwriter/)
* Class [JsonSerializerOptions](../../jsonserializeroptions/)
* Class [PooledByteBufferWriter](../../pooledbytebufferwriter/)
* Class [Utf8JsonWriterCache](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
