1 instantiation of Utf8BufferTextReader
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\SignalR\common\Shared\Utf8BufferTextReader.cs (1)
34
reader = new
Utf8BufferTextReader
();
8 references to Utf8BufferTextReader
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (8)
Protocol\NewtonsoftJsonHubProtocol.cs (4)
87
var
textReader =
Utf8BufferTextReader
.Get(payload);
95
Utf8BufferTextReader
.Return(textReader);
114
private HubMessage? ParseMessage(
Utf8BufferTextReader
textReader, IInvocationBinder binder)
src\SignalR\common\Shared\Utf8BufferTextReader.cs (4)
18
private static
Utf8BufferTextReader
? _cachedInstance;
29
public static
Utf8BufferTextReader
Get(in ReadOnlySequence<byte> utf8Buffer)
31
var
reader = _cachedInstance;
51
public static void Return(
Utf8BufferTextReader
reader)