/// <summary> /// Returns the output JSON data as a <c>ReadOnlyMemory</c> of UTF8-encoded bytes. /// </summary> /// <remarks> /// On .NET Core 3.x and .NET 5.x, this method is the most efficient way to access the output data, /// since it does not do any copying. You can construct an HTTP request body or do other I/O directly /// from <c>ReadOnlyMemory</c>. This method is not available on other platforms. /// </remarks> /// <returns></returns> public ReadOnlyMemory <byte> GetUTF8ReadOnlyMemory() => _tw.GetUtf8ReadOnlyMemory();