JsonWorkspace.ReturnWriterAndBuffer Method
Definition
Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonWorkspace.cs
ReturnWriterAndBuffer(Utf8JsonWriter, IByteBufferWriter)
Returns a rented UTF-8 JSON writer and buffer writer to the pool.
public void ReturnWriterAndBuffer(Utf8JsonWriter writer, IByteBufferWriter bufferWriter)
Parameters
| Name | Type | Description |
|---|---|---|
writer |
Utf8JsonWriter |
The writer to return to the pool. |
bufferWriter |
IByteBufferWriter |
The buffer writer to return to the pool. |
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue