1 instantiation of ReusableUtf8JsonWriter
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
src\SignalR\common\Shared\ReusableUtf8JsonWriter.cs (1)
38
writer = new
ReusableUtf8JsonWriter
(stream);
7 references to ReusableUtf8JsonWriter
Microsoft.AspNetCore.SignalR.Protocols.Json (7)
Protocol\JsonHubProtocol.cs (3)
518
var
reusableWriter =
ReusableUtf8JsonWriter
.Get(stream);
575
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)