1 instantiation of Utf8BufferTextWriter
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
43
writer = new
Utf8BufferTextWriter
();
7 references to Utf8BufferTextWriter
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (7)
Protocol\NewtonsoftJsonHubProtocol.cs (3)
515
var
textWriter =
Utf8BufferTextWriter
.Get(stream);
572
Utf8BufferTextWriter
.Return(textWriter);
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (4)
20
private static
Utf8BufferTextWriter
? _cachedInstance;
38
public static
Utf8BufferTextWriter
Get(IBufferWriter<byte> bufferWriter)
40
var
writer = _cachedInstance;
60
public static void Return(
Utf8BufferTextWriter
writer)