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