1 instantiation of ReusableUtf8JsonWriter
Microsoft.AspNetCore.Http.Connections.Common (1)
src\SignalR\common\Shared\ReusableUtf8JsonWriter.cs (1)
38
writer = new
ReusableUtf8JsonWriter
(stream);
7 references to ReusableUtf8JsonWriter
Microsoft.AspNetCore.Http.Connections.Common (7)
NegotiateProtocol.cs (3)
50
var
reusableWriter =
ReusableUtf8JsonWriter
.Get(output);
137
ReusableUtf8JsonWriter
.Return(reusableWriter);
src\SignalR\common\Shared\ReusableUtf8JsonWriter.cs (4)
14
private static
ReusableUtf8JsonWriter
? _cachedInstance;
33
public static
ReusableUtf8JsonWriter
Get(IBufferWriter<byte> stream)
35
var
writer = _cachedInstance;
55
public static void Return(
ReusableUtf8JsonWriter
writer)